Struct bgpd_rs::api::rpc::PeerDetail [−][src]
pub struct PeerDetail {
pub summary: PeerSummary,
pub hold_timer: u16,
pub hold_timer_interval: u16,
pub hold_time: Option<String>,
pub last_received: Option<String>,
pub last_sent: Option<String>,
pub tcp_connection: Option<(String, String)>,
pub capabilities: Vec<String>,
}
Fields
summary: PeerSummary
hold_timer: u16
hold_timer_interval: u16
hold_time: Option<String>
last_received: Option<String>
last_sent: Option<String>
tcp_connection: Option<(String, String)>
capabilities: Vec<String>
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 PeerDetail
impl Send for PeerDetail
impl Sync for PeerDetail
impl Unpin for PeerDetail
impl UnwindSafe for PeerDetail
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