pub struct NodeEvictionCandidate {
    pub id: NodeId,
    pub n_time_connected: Option<OffsetDateTime>,
    pub min_ping_time: Option<Duration>,
    pub n_last_block_time: Option<OffsetDateTime>,
    pub n_last_tx_time: Option<OffsetDateTime>,
    pub relevant_services: bool,
    pub relay_txes: bool,
    pub bloom_filter: bool,
    pub n_keyed_net_group: u64,
    pub prefer_evict: bool,
    pub is_local: bool,
    pub network: Network,
}

Fields§

§id: NodeId§n_time_connected: Option<OffsetDateTime>§min_ping_time: Option<Duration>§n_last_block_time: Option<OffsetDateTime>§n_last_tx_time: Option<OffsetDateTime>§relevant_services: bool§relay_txes: bool§bloom_filter: bool§n_keyed_net_group: u64§prefer_evict: bool§is_local: bool§network: Network

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Performs the conversion. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Convert type of a const pointer. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.