pub struct MessageMeta { /* private fields */ }Expand description
Static metadata for a message type: element count and valid endpoints.
Trait Implementations§
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MessageMeta
Source§impl Debug for MessageMeta
impl Debug for MessageMeta
impl Eq for MessageMeta
Source§impl Hash for MessageMeta
impl Hash for MessageMeta
Source§impl Ord for MessageMeta
impl Ord for MessageMeta
Source§fn cmp(&self, other: &MessageMeta) -> Ordering
fn cmp(&self, other: &MessageMeta) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MessageMeta
impl PartialEq for MessageMeta
Source§fn eq(&self, other: &MessageMeta) -> bool
fn eq(&self, other: &MessageMeta) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MessageMeta
impl PartialOrd 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