pub struct RouterView {
pub id: Option<String>,
pub name: Option<String>,
pub region: Option<String>,
pub status: Option<String>,
}Fields§
§id: Option<String>ID is the ZT edge-router’s id.
name: Option<String>Name is the edge-router’s name, falling back to its id when it has none.
region: Option<String>Region comes from a "region-
status: Option<String>Status is the controller’s own health signal: "online" when connected, "disabled" when administratively disabled, "offline" otherwise.
Implementations§
Source§impl RouterView
impl RouterView
pub fn new() -> RouterView
Trait Implementations§
Source§impl Clone for RouterView
impl Clone for RouterView
Source§fn clone(&self) -> RouterView
fn clone(&self) -> RouterView
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 RouterView
impl Debug for RouterView
Source§impl Default for RouterView
impl Default for RouterView
Source§fn default() -> RouterView
fn default() -> RouterView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RouterView
impl<'de> Deserialize<'de> for RouterView
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 RouterView
impl PartialEq for RouterView
Source§impl Serialize for RouterView
impl Serialize for RouterView
impl StructuralPartialEq for RouterView
Auto Trait Implementations§
impl Freeze for RouterView
impl RefUnwindSafe for RouterView
impl Send for RouterView
impl Sync for RouterView
impl Unpin for RouterView
impl UnsafeUnpin for RouterView
impl UnwindSafe for RouterView
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