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§
impl RefUnwindSafe for NodeEvictionCandidate
impl Send for NodeEvictionCandidate
impl Sync for NodeEvictionCandidate
impl Unpin for NodeEvictionCandidate
impl UnwindSafe for NodeEvictionCandidate
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more