pub struct DocumentSnapshot {
pub id: DocumentId,
pub kind: DocumentKind,
pub source_uri: SourceUri,
pub revision: SourceRevision,
pub source_path: PathBuf,
pub document: KmmDocument,
pub outline: DocumentOutline,
pub metadata: DocumentMetadataView,
}Fields§
§id: DocumentId§kind: DocumentKind§source_uri: SourceUri§revision: SourceRevision§source_path: PathBuf§document: KmmDocument§outline: DocumentOutline§metadata: DocumentMetadataViewTrait Implementations§
Source§impl Clone for DocumentSnapshot
impl Clone for DocumentSnapshot
Source§fn clone(&self) -> DocumentSnapshot
fn clone(&self) -> DocumentSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DocumentSnapshot
impl Debug for DocumentSnapshot
Source§impl<'de> Deserialize<'de> for DocumentSnapshot
impl<'de> Deserialize<'de> for DocumentSnapshot
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 PartialEq for DocumentSnapshot
impl PartialEq for DocumentSnapshot
Source§fn eq(&self, other: &DocumentSnapshot) -> bool
fn eq(&self, other: &DocumentSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DocumentSnapshot
impl Serialize for DocumentSnapshot
impl Eq for DocumentSnapshot
impl StructuralPartialEq for DocumentSnapshot
Auto Trait Implementations§
impl Freeze for DocumentSnapshot
impl RefUnwindSafe for DocumentSnapshot
impl Send for DocumentSnapshot
impl Sync for DocumentSnapshot
impl Unpin for DocumentSnapshot
impl UnsafeUnpin for DocumentSnapshot
impl UnwindSafe for DocumentSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.