pub struct DefineBinaryData {
pub id: u16,
pub data: Vec<u8>,
}
Fields§
§id: u16
§data: Vec<u8>
Trait Implementations§
Source§impl Clone for DefineBinaryData
impl Clone for DefineBinaryData
Source§fn clone(&self) -> DefineBinaryData
fn clone(&self) -> DefineBinaryData
Returns a copy 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 DefineBinaryData
impl Debug for DefineBinaryData
Source§impl<'de> Deserialize<'de> for DefineBinaryData
impl<'de> Deserialize<'de> for DefineBinaryData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for DefineBinaryData
impl Hash for DefineBinaryData
Source§impl Ord for DefineBinaryData
impl Ord for DefineBinaryData
Source§fn cmp(&self, other: &DefineBinaryData) -> Ordering
fn cmp(&self, other: &DefineBinaryData) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DefineBinaryData
impl PartialEq for DefineBinaryData
Source§impl PartialOrd for DefineBinaryData
impl PartialOrd for DefineBinaryData
Source§impl Serialize for DefineBinaryData
impl Serialize for DefineBinaryData
impl Eq for DefineBinaryData
impl StructuralPartialEq for DefineBinaryData
Auto Trait Implementations§
impl Freeze for DefineBinaryData
impl RefUnwindSafe for DefineBinaryData
impl Send for DefineBinaryData
impl Sync for DefineBinaryData
impl Unpin for DefineBinaryData
impl UnwindSafe for DefineBinaryData
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