pub struct Topology {
pub base_addr: String,
pub population: i64,
pub connected: i64,
pub timestamp: String,
pub nn_low_watermark: i64,
pub depth: u8,
}Expand description
Topology snapshot — GET /topology.
Fields§
§base_addr: StringBase address (overlay).
population: i64Population (peers known across all bins).
connected: i64Currently connected peers.
timestamp: StringSnapshot timestamp (RFC 3339).
nn_low_watermark: i64Lower watermark for the nearest neighbour bin.
depth: u8Kademlia depth.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Topology
impl<'de> Deserialize<'de> for Topology
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 Topology
impl StructuralPartialEq for Topology
Auto Trait Implementations§
impl Freeze for Topology
impl RefUnwindSafe for Topology
impl Send for Topology
impl Sync for Topology
impl Unpin for Topology
impl UnsafeUnpin for Topology
impl UnwindSafe for Topology
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