Struct bgpd_rs::api::rpc::PeerSummary [−][src]
pub struct PeerSummary {
pub peer: String,
pub enabled: bool,
pub router_id: Option<IpAddr>,
pub remote_asn: u32,
pub local_asn: u32,
pub msg_received: Option<u64>,
pub msg_sent: Option<u64>,
pub connect_time: Option<i64>,
pub uptime: Option<String>,
pub state: String,
pub prefixes_received: Option<u64>,
}
Fields
peer: String
enabled: bool
router_id: Option<IpAddr>
remote_asn: u32
local_asn: u32
msg_received: Option<u64>
msg_sent: Option<u64>
connect_time: Option<i64>
uptime: Option<String>
state: String
prefixes_received: Option<u64>
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for PeerSummary
impl Send for PeerSummary
impl Sync for PeerSummary
impl Unpin for PeerSummary
impl UnwindSafe for PeerSummary
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more