pub struct PayloadEntry {
pub tag: String,
pub data: Vec<u8>,
}Expand description
Named payload slots with typed tags.
Fields§
§tag: String§data: Vec<u8>Trait Implementations§
Source§impl Clone for PayloadEntry
impl Clone for PayloadEntry
Source§fn clone(&self) -> PayloadEntry
fn clone(&self) -> PayloadEntry
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 moreAuto Trait Implementations§
impl Freeze for PayloadEntry
impl RefUnwindSafe for PayloadEntry
impl Send for PayloadEntry
impl Sync for PayloadEntry
impl Unpin for PayloadEntry
impl UnsafeUnpin for PayloadEntry
impl UnwindSafe for PayloadEntry
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