#[repr(transparent)]pub struct CborPayload(pub Vec<u8>);Expand description
CBOR-encoded schema payload (schemas + method bindings).
Newtype over Vec<u8> so the type system distinguishes raw bytes from
CBOR-encoded schema data. Empty when no new schemas need to be sent.
Tuple Fields§
§0: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for CborPayload
impl Clone for CborPayload
Source§fn clone(&self) -> CborPayload
fn clone(&self) -> CborPayload
Returns a duplicate of the value. Read more
1.0.0 · 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 CborPayload
impl Debug for CborPayload
Source§impl Default for CborPayload
impl Default for CborPayload
Source§fn default() -> CborPayload
fn default() -> CborPayload
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CborPayload
impl RefUnwindSafe for CborPayload
impl Send for CborPayload
impl Sync for CborPayload
impl Unpin for CborPayload
impl UnsafeUnpin for CborPayload
impl UnwindSafe for CborPayload
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