pub struct BinaryPayload {
pub data: Vec<u8>,
}Fields§
§data: Vec<u8>Trait Implementations§
Source§impl Clone for BinaryPayload
impl Clone for BinaryPayload
Source§fn clone(&self) -> BinaryPayload
fn clone(&self) -> BinaryPayload
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 BinaryPayload
impl Debug for BinaryPayload
Source§impl Default for BinaryPayload
impl Default for BinaryPayload
Source§fn default() -> BinaryPayload
fn default() -> BinaryPayload
Returns the “default value” for a type. Read more
impl Eq for BinaryPayload
Source§impl PartialEq for BinaryPayload
impl PartialEq for BinaryPayload
Source§fn eq(&self, other: &BinaryPayload) -> bool
fn eq(&self, other: &BinaryPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BinaryPayload
Auto Trait Implementations§
impl Freeze for BinaryPayload
impl RefUnwindSafe for BinaryPayload
impl Send for BinaryPayload
impl Sync for BinaryPayload
impl Unpin for BinaryPayload
impl UnsafeUnpin for BinaryPayload
impl UnwindSafe for BinaryPayload
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