Struct pliantdb_core::networking::MappedDocument [−][src]
Expand description
A serialized MappedDocument.
Fields
key: Vec<u8>The serialized key.
value: Vec<u8>The serialized value.
source: Document<'static>The source document.
Implementations
pub fn deserialized<K: Key, V: Serialize + DeserializeOwned>(
self
) -> Result<MappedDocument<K, V>, Error>
pub fn deserialized<K: Key, V: Serialize + DeserializeOwned>(
self
) -> Result<MappedDocument<K, V>, Error>Deserialize into a MappedDocument.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for MappedDocumentimpl Send for MappedDocumentimpl Sync for MappedDocumentimpl Unpin for MappedDocumentimpl UnwindSafe for MappedDocumentBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self