pub struct NodeMessageDistribution {
pub id: String,
pub origin: String,
pub sender: String,
pub count: u128,
pub level: usize,
pub receiver: String,
pub network_id: String,
pub group_id: String,
pub msg_type: NodeMessageType,
pub sign: String,
pub data: String,
}Fields§
§id: String§origin: String§sender: String§count: u128§level: usize§receiver: String§network_id: String§group_id: String§msg_type: NodeMessageType§sign: String§data: StringTrait Implementations§
Source§impl Clone for NodeMessageDistribution
impl Clone for NodeMessageDistribution
Source§fn clone(&self) -> NodeMessageDistribution
fn clone(&self) -> NodeMessageDistribution
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 NodeMessageDistribution
impl Debug for NodeMessageDistribution
Source§impl<'de> Deserialize<'de> for NodeMessageDistribution
impl<'de> Deserialize<'de> for NodeMessageDistribution
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
impl Eq for NodeMessageDistribution
Source§impl Ord for NodeMessageDistribution
impl Ord for NodeMessageDistribution
Source§fn cmp(&self, other: &NodeMessageDistribution) -> Ordering
fn cmp(&self, other: &NodeMessageDistribution) -> Ordering
1.21.0 (const: unstable) · 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 NodeMessageDistribution
impl PartialEq for NodeMessageDistribution
Source§fn eq(&self, other: &NodeMessageDistribution) -> bool
fn eq(&self, other: &NodeMessageDistribution) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for NodeMessageDistribution
impl PartialOrd for NodeMessageDistribution
Source§impl Serialize for NodeMessageDistribution
impl Serialize for NodeMessageDistribution
impl StructuralPartialEq for NodeMessageDistribution
Auto Trait Implementations§
impl Freeze for NodeMessageDistribution
impl RefUnwindSafe for NodeMessageDistribution
impl Send for NodeMessageDistribution
impl Sync for NodeMessageDistribution
impl Unpin for NodeMessageDistribution
impl UnsafeUnpin for NodeMessageDistribution
impl UnwindSafe for NodeMessageDistribution
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