pub struct PinnedDocument { /* private fields */ }
Expand description
Pinned document
Implementations§
Source§impl PinnedDocument
impl PinnedDocument
Sourcepub fn new<IX, ID>(index: IX, id: ID) -> Self
pub fn new<IX, ID>(index: IX, id: ID) -> Self
Creates an instance of PinnedDocument
Trait Implementations§
Source§impl Clone for PinnedDocument
impl Clone for PinnedDocument
Source§fn clone(&self) -> PinnedDocument
fn clone(&self) -> PinnedDocument
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PinnedDocument
impl Debug for PinnedDocument
Source§impl<'de> Deserialize<'de> for PinnedDocument
impl<'de> Deserialize<'de> for PinnedDocument
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for PinnedDocument
impl Ord for PinnedDocument
Source§fn cmp(&self, other: &PinnedDocument) -> Ordering
fn cmp(&self, other: &PinnedDocument) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PinnedDocument
impl PartialEq for PinnedDocument
Source§impl PartialOrd for PinnedDocument
impl PartialOrd for PinnedDocument
Source§impl Serialize for PinnedDocument
impl Serialize for PinnedDocument
impl Eq for PinnedDocument
impl StructuralPartialEq for PinnedDocument
Auto Trait Implementations§
impl Freeze for PinnedDocument
impl RefUnwindSafe for PinnedDocument
impl Send for PinnedDocument
impl Sync for PinnedDocument
impl Unpin for PinnedDocument
impl UnwindSafe for PinnedDocument
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