Expand description
Represents a document’s entry in a View’s mappings, serialized and ready to store.
Fields§
§source: Header
The header of the document that emitted this entry.
key: Bytes
The key used to index the View.Operation
value: Bytes
An associated value stored in the view.Operation
Implementations§
§impl Serialized
impl Serialized
pub fn deserialized<View>(
&self
) -> Result<Map<<View as View>::Key, <View as View>::Value>, Error>where
View: SerializedView,
pub fn deserialized<View>(
&self
) -> Result<Map<<View as View>::Key, <View as View>::Value>, Error>where
View: SerializedView,
Deserializes this map.
Trait Implementations§
§impl Clone for Serialized
impl Clone for Serialized
§fn clone(&self) -> Serialized
fn clone(&self) -> Serialized
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 more§impl Debug for Serialized
impl Debug for Serialized
§impl<'de> Deserialize<'de> for Serialized
impl<'de> Deserialize<'de> for Serialized
§fn deserialize<__D>(
__deserializer: __D
) -> Result<Serialized, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Serialized, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for Serialized
impl Serialize for Serialized
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more