pub struct FirstMeta {
pub message_type_byte: u8,
pub regarding: Option<Regarding>,
pub editing: Option<u8>,
}Expand description
Message-level metadata retained from fragment zero (spec: options from the first fragment apply to the entire reassembled message).
Only fields consulted on later receive calls are retained. Presentation metadata (sender handle, colors) is not: the announcing Insert mutation is always emitted during the call that delivered fragment zero, so it borrows those directly from the validated content, at full fidelity.
Fields§
§message_type_byte: u8§regarding: Option<Regarding>§editing: Option<u8>Implementations§
Source§impl FirstMeta
impl FirstMeta
pub fn message_type(&self) -> MessageType
Trait Implementations§
impl Copy for FirstMeta
Auto Trait Implementations§
impl Freeze for FirstMeta
impl RefUnwindSafe for FirstMeta
impl Send for FirstMeta
impl Sync for FirstMeta
impl Unpin for FirstMeta
impl UnwindSafe for FirstMeta
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)