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: String
The UID of the first item of the page.
Trait Implementations§
Source§impl TryFrom<Element> for First
impl TryFrom<Element> for First
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl 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 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