Struct ssb_legacy_msg_data::value::ContentValue [−][src]
pub struct ContentValue(pub Value);
Expand description
Represents any valid ssb legacy message value that can be used as the content of a message, preserving the order of object entries.
On deserialization, this enforces that the value is an object with a correct type entry.
Trait Implementations
fn deserialize<D>(deserializer: D) -> Result<ContentValue, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<ContentValue, D::Error> where
D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
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 RefUnwindSafe for ContentValueimpl Send for ContentValueimpl Sync for ContentValueimpl Unpin for ContentValueimpl UnwindSafe for ContentValueBlanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.