pub struct First {
pub index: Option<usize>,
pub item: String,
}Expand description
The first item of the page.
Fields§
§index: Option<usize>The position of the first item in the full set (which may be approximate).
item: StringThe UID of the first item of the page.
Trait Implementations§
Source§impl AsXml for First
impl AsXml for First
Source§impl FromXml for First
impl FromXml for First
Source§fn from_events(
name: QName,
attrs: AttrMap,
ctx: &Context<'_>,
) -> Result<Self::Builder, FromEventsError>
fn from_events( name: QName, attrs: AttrMap, ctx: &Context<'_>, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
Source§fn xml_name_matcher() -> XmlNameMatcher<'static>
fn xml_name_matcher() -> XmlNameMatcher<'static>
Return a predicate which determines if
Self may be parsed from
a given XML element. Read moreimpl StructuralPartialEq for First
Auto Trait Implementations§
impl Freeze for First
impl RefUnwindSafe for First
impl Send for First
impl Sync for First
impl Unpin for First
impl UnsafeUnpin for First
impl UnwindSafe for First
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more