Struct tiny_firestore_odm::NamedDocument [−][src]
pub struct NamedDocument<T> {
pub name: DocumentName,
pub value: T,
}
Expand description
Represents a key/value pair, where the key (name) is a fully-qualified path to the document.
Fields
name: DocumentName
value: T
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T> RefUnwindSafe for NamedDocument<T> where
T: RefUnwindSafe,
impl<T> Send for NamedDocument<T> where
T: Send,
impl<T> Sync for NamedDocument<T> where
T: Sync,
impl<T> Unpin for NamedDocument<T> where
T: Unpin,
impl<T> UnwindSafe for NamedDocument<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more