pub struct DwnRequest {
pub dm: bool,
pub action: Action,
pub payload: Vec<u8>,
}
Fields§
§dm: bool
§action: Action
§payload: Vec<u8>
Implementations§
Trait Implementations§
source§impl Clone for DwnRequest
impl Clone for DwnRequest
source§fn clone(&self) -> DwnRequest
fn clone(&self) -> DwnRequest
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 DwnRequest
impl Debug for DwnRequest
source§impl<'de> Deserialize<'de> for DwnRequest
impl<'de> Deserialize<'de> for DwnRequest
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 Ord for DwnRequest
impl Ord for DwnRequest
source§fn cmp(&self, other: &DwnRequest) -> Ordering
fn cmp(&self, other: &DwnRequest) -> 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 DwnRequest
impl PartialEq for DwnRequest
source§impl PartialOrd for DwnRequest
impl PartialOrd for DwnRequest
source§impl Serialize for DwnRequest
impl Serialize for DwnRequest
impl Eq for DwnRequest
impl StructuralPartialEq for DwnRequest
Auto Trait Implementations§
impl Freeze for DwnRequest
impl RefUnwindSafe for DwnRequest
impl Send for DwnRequest
impl Sync for DwnRequest
impl Unpin for DwnRequest
impl UnwindSafe for DwnRequest
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.