pub struct ExtMeta {
pub typeid: i8,
pub size: u32,
}
Expand description
Extension type meta information.
Extension represents a tuple of type information and a byte array where type information is an integer whose meaning is defined by applications.
Applications can assign 0 to 127 to store application-specific type information.
§Note
MessagePack reserves -1 to -128 for future extension to add predefined types which will be described in separated documents.
Fields§
§typeid: i8
Type information.
size: u32
Byte array size.
Trait Implementations§
source§impl PartialEq for ExtMeta
impl PartialEq for ExtMeta
impl StructuralPartialEq for ExtMeta
Auto Trait Implementations§
impl Freeze for ExtMeta
impl RefUnwindSafe for ExtMeta
impl Send for ExtMeta
impl Sync for ExtMeta
impl Unpin for ExtMeta
impl UnwindSafe for ExtMeta
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