pub struct SsbMessageValue {
pub previous: Option<Multihash>,
pub author: String,
pub sequence: u64,
pub timestamp: LegacyF64,
pub hash: String,
pub content: ContentValue,
pub signature: String,
}Expand description
Data type representing the value of a message object (KVT). More information concerning the
data model can be found
in the Metadata documentation.
Fields§
§previous: Option<Multihash>§sequence: u64§timestamp: LegacyF64§hash: String§content: ContentValue§signature: StringTrait Implementations§
Source§impl Debug for SsbMessageValue
impl Debug for SsbMessageValue
Source§impl<'de> Deserialize<'de> for SsbMessageValue
impl<'de> Deserialize<'de> for SsbMessageValue
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
Auto Trait Implementations§
impl Freeze for SsbMessageValue
impl RefUnwindSafe for SsbMessageValue
impl Send for SsbMessageValue
impl Sync for SsbMessageValue
impl Unpin for SsbMessageValue
impl UnwindSafe for SsbMessageValue
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more