pub struct LocalSetOwnedItem {
pub tag: u16,
pub value: Vec<u8>,
}Expand description
An owned {tag, value} pair, used to build a fresh LocalSet for
serialization (the borrowed LocalSetItem can’t hold bytes owned by
the very struct being serialized).
Fields§
§tag: u16The local tag.
value: Vec<u8>The value bytes.
Implementations§
Trait Implementations§
Source§impl Clone for LocalSetOwnedItem
impl Clone for LocalSetOwnedItem
Source§fn clone(&self) -> LocalSetOwnedItem
fn clone(&self) -> LocalSetOwnedItem
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 LocalSetOwnedItem
impl Debug for LocalSetOwnedItem
impl Eq for LocalSetOwnedItem
Source§impl PartialEq for LocalSetOwnedItem
impl PartialEq for LocalSetOwnedItem
impl StructuralPartialEq for LocalSetOwnedItem
Auto Trait Implementations§
impl Freeze for LocalSetOwnedItem
impl RefUnwindSafe for LocalSetOwnedItem
impl Send for LocalSetOwnedItem
impl Sync for LocalSetOwnedItem
impl Unpin for LocalSetOwnedItem
impl UnsafeUnpin for LocalSetOwnedItem
impl UnwindSafe for LocalSetOwnedItem
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