pub struct MsgMeta {
pub schema_id: u64,
pub msg_type: u32,
pub msg_version: u16,
pub flags: u16,
}Expand description
Expected message identity for receive-side filtering.
This identity is stored in the v1 envelope header and validated by typed receive helpers.
Fields§
§schema_id: u64Schema identifier for the message family.
msg_type: u32Message type identifier within the schema.
msg_version: u16Message version.
flags: u16Header flags.
Most callers leave this as 0 and use MsgMeta::with_flags when needed.
Implementations§
Trait Implementations§
impl Copy for MsgMeta
impl Eq for MsgMeta
impl StructuralPartialEq for MsgMeta
Auto Trait Implementations§
impl Freeze for MsgMeta
impl RefUnwindSafe for MsgMeta
impl Send for MsgMeta
impl Sync for MsgMeta
impl Unpin for MsgMeta
impl UnwindSafe for MsgMeta
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