pub struct NetworkView {
pub id: Option<String>,
pub name: Option<String>,
pub nodes: Option<i32>,
pub status: Option<String>,
}Fields§
§id: Option<String>ID is the org-derived id of the overlay network — the key GET /v1/network/{id} addresses.
name: Option<String>Name is the org the overlay belongs to.
nodes: Option<i32>Nodes is how many edge-routers the org has on the fabric.
status: Option<String>Status is "connected" once at least one of the org’s edge-routers is online, else "provisioning" (routers exist but none has dialed home).
Implementations§
Source§impl NetworkView
impl NetworkView
pub fn new() -> NetworkView
Trait Implementations§
Source§impl Clone for NetworkView
impl Clone for NetworkView
Source§fn clone(&self) -> NetworkView
fn clone(&self) -> NetworkView
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 NetworkView
impl Debug for NetworkView
Source§impl Default for NetworkView
impl Default for NetworkView
Source§fn default() -> NetworkView
fn default() -> NetworkView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkView
impl<'de> Deserialize<'de> for NetworkView
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 NetworkView
impl PartialEq for NetworkView
Source§impl Serialize for NetworkView
impl Serialize for NetworkView
impl StructuralPartialEq for NetworkView
Auto Trait Implementations§
impl Freeze for NetworkView
impl RefUnwindSafe for NetworkView
impl Send for NetworkView
impl Sync for NetworkView
impl Unpin for NetworkView
impl UnsafeUnpin for NetworkView
impl UnwindSafe for NetworkView
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