pub struct MessageMeta {
pub used_size: usize,
pub values: BTreeMap<String, MetaValue>,
}Expand description
Dynamic metadata envelope for schema-less receive operations.
Fields§
§used_size: usizeNumber of payload bytes that are valid for this message.
values: BTreeMap<String, MetaValue>Additional metadata fields.
Trait Implementations§
Source§impl ChannelMetadata for MessageMeta
impl ChannelMetadata for MessageMeta
Source§impl Clone for MessageMeta
impl Clone for MessageMeta
Source§fn clone(&self) -> MessageMeta
fn clone(&self) -> MessageMeta
Returns a duplicate 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 moreSource§impl Debug for MessageMeta
impl Debug for MessageMeta
Source§impl<'de> Deserialize<'de> for MessageMeta
impl<'de> Deserialize<'de> for MessageMeta
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 MessageMeta
impl PartialEq for MessageMeta
Source§impl Serialize for MessageMeta
impl Serialize for MessageMeta
impl StructuralPartialEq for MessageMeta
Auto Trait Implementations§
impl Freeze for MessageMeta
impl RefUnwindSafe for MessageMeta
impl Send for MessageMeta
impl Sync for MessageMeta
impl Unpin for MessageMeta
impl UnsafeUnpin for MessageMeta
impl UnwindSafe for MessageMeta
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