pub struct BgpStateResponse {
pub resource: String,
pub time: String,
pub timestamp: String,
pub bgp_state: BgpState,
pub nr_routes: i64,
}Fields§
§resource: String§time: String§timestamp: String§bgp_state: BgpState§nr_routes: i64Trait Implementations§
Source§impl Clone for BgpStateResponse
impl Clone for BgpStateResponse
Source§fn clone(&self) -> BgpStateResponse
fn clone(&self) -> BgpStateResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BgpStateResponse
impl Debug for BgpStateResponse
Source§impl Default for BgpStateResponse
impl Default for BgpStateResponse
Source§fn default() -> BgpStateResponse
fn default() -> BgpStateResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BgpStateResponse
impl<'de> Deserialize<'de> for BgpStateResponse
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
Source§impl PartialEq for BgpStateResponse
impl PartialEq for BgpStateResponse
Source§fn eq(&self, other: &BgpStateResponse) -> bool
fn eq(&self, other: &BgpStateResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BgpStateResponse
impl Serialize for BgpStateResponse
impl StructuralPartialEq for BgpStateResponse
Auto Trait Implementations§
impl Freeze for BgpStateResponse
impl RefUnwindSafe for BgpStateResponse
impl Send for BgpStateResponse
impl Sync for BgpStateResponse
impl Unpin for BgpStateResponse
impl UnsafeUnpin for BgpStateResponse
impl UnwindSafe for BgpStateResponse
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