pub struct RawTaggedField {
pub tag: u32,
pub data: Bytes,
}Expand description
A single raw tagged field. The body bytes are stored verbatim — interpretation is the caller’s responsibility (the schema dictates the encoding per tag).
Fields§
§tag: u32Tag number.
data: BytesRaw payload bytes.
Trait Implementations§
Source§impl Clone for RawTaggedField
impl Clone for RawTaggedField
Source§fn clone(&self) -> RawTaggedField
fn clone(&self) -> RawTaggedField
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 moreSource§impl Debug for RawTaggedField
impl Debug for RawTaggedField
impl Eq for RawTaggedField
Source§impl PartialEq for RawTaggedField
impl PartialEq for RawTaggedField
Source§fn eq(&self, other: &RawTaggedField) -> bool
fn eq(&self, other: &RawTaggedField) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RawTaggedField
Auto Trait Implementations§
impl !Freeze for RawTaggedField
impl RefUnwindSafe for RawTaggedField
impl Send for RawTaggedField
impl Sync for RawTaggedField
impl Unpin for RawTaggedField
impl UnsafeUnpin for RawTaggedField
impl UnwindSafe for RawTaggedField
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