pub struct NodeContribution {
pub node: Node,
pub outbound: Traffic,
pub senders: Vec<Sender>,
pub babysitter: Babysitter,
pub coverage: Tracking,
}Expand description
A physical node’s contribution before ranking or merging chat IDs.
Fields§
§node: Node§outbound: Traffic§senders: Vec<Sender>§babysitter: Babysitter§coverage: TrackingTrait Implementations§
Source§impl Clone for NodeContribution
impl Clone for NodeContribution
Source§impl Debug for NodeContribution
impl Debug for NodeContribution
Source§impl<'de> Deserialize<'de> for NodeContribution
impl<'de> Deserialize<'de> for NodeContribution
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 NodeContribution
Source§impl PartialEq for NodeContribution
impl PartialEq for NodeContribution
Source§impl Serialize for NodeContribution
impl Serialize for NodeContribution
impl StructuralPartialEq for NodeContribution
Auto Trait Implementations§
impl Forget for NodeContribution
impl Freeze for NodeContribution
impl Move for NodeContribution
impl RefUnwindSafe for NodeContribution
impl Send for NodeContributionwhere
RawVecInner: Send,
impl Sync for NodeContributionwhere
RawVecInner: Sync,
impl Unpin for NodeContribution
impl UnsafeUnpin for NodeContributionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Sender>: UnsafeUnpin,
impl UnwindSafe for NodeContributionwhere
RawVecInner: UnwindSafe,
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