pub struct MetaContent {
pub action: String,
pub payload: HashMap<String, String>,
}Expand description
Metadata-only message (no user-visible content).
Fields§
§action: StringThe action or operation name.
payload: HashMap<String, String>Arbitrary key-value payload.
Trait Implementations§
Source§impl Clone for MetaContent
impl Clone for MetaContent
Source§fn clone(&self) -> MetaContent
fn clone(&self) -> MetaContent
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 MetaContent
impl Debug for MetaContent
Source§impl<'de> Deserialize<'de> for MetaContent
impl<'de> Deserialize<'de> for MetaContent
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
Source§impl PartialEq for MetaContent
impl PartialEq for MetaContent
Source§impl Serialize for MetaContent
impl Serialize for MetaContent
impl StructuralPartialEq for MetaContent
Auto Trait Implementations§
impl Freeze for MetaContent
impl RefUnwindSafe for MetaContent
impl Send for MetaContent
impl Sync for MetaContent
impl Unpin for MetaContent
impl UnsafeUnpin for MetaContent
impl UnwindSafe for MetaContent
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