pub struct MessageVersion {
pub serial: Serial,
pub timestamp: Timestamp,
pub client_id: Option<String>,
pub description: Option<String>,
pub metadata: Option<BTreeMap<String, String>>,
}Expand description
Details of the latest create/update/delete version of a message.
Fields§
§serial: SerialUnique identifier of this message version.
timestamp: TimestampMilliseconds since the Unix epoch at which this version was created.
client_id: Option<String>Client ID of the user who performed the update or deletion.
description: Option<String>Optional description supplied with an update or deletion.
metadata: Option<BTreeMap<String, String>>Optional metadata supplied with an update or deletion.
Trait Implementations§
Source§impl Clone for MessageVersion
impl Clone for MessageVersion
Source§fn clone(&self) -> MessageVersion
fn clone(&self) -> MessageVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MessageVersion
impl Debug for MessageVersion
Source§impl<'de> Deserialize<'de> for MessageVersion
impl<'de> Deserialize<'de> for MessageVersion
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 MessageVersion
impl RefUnwindSafe for MessageVersion
impl Send for MessageVersion
impl Sync for MessageVersion
impl Unpin for MessageVersion
impl UnsafeUnpin for MessageVersion
impl UnwindSafe for MessageVersion
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