#[non_exhaustive]pub struct RouterStatusResponse {
pub kind: Option<String>,
pub result: Option<RouterStatus>,
/* private fields */
}Available on crate feature
routers only.Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: Option<String>Output only. Type of resource.
result: Option<RouterStatus>Implementations§
Source§impl RouterStatusResponse
impl RouterStatusResponse
pub fn new() -> Self
Sourcepub fn set_or_clear_kind<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_kind<T>(self, v: Option<T>) -> Self
Sourcepub fn set_result<T>(self, v: T) -> Selfwhere
T: Into<RouterStatus>,
pub fn set_result<T>(self, v: T) -> Selfwhere
T: Into<RouterStatus>,
Sourcepub fn set_or_clear_result<T>(self, v: Option<T>) -> Selfwhere
T: Into<RouterStatus>,
pub fn set_or_clear_result<T>(self, v: Option<T>) -> Selfwhere
T: Into<RouterStatus>,
Trait Implementations§
Source§impl Clone for RouterStatusResponse
impl Clone for RouterStatusResponse
Source§fn clone(&self) -> RouterStatusResponse
fn clone(&self) -> RouterStatusResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 RouterStatusResponse
impl Debug for RouterStatusResponse
Source§impl Default for RouterStatusResponse
impl Default for RouterStatusResponse
Source§fn default() -> RouterStatusResponse
fn default() -> RouterStatusResponse
Returns the “default value” for a type. Read more
Source§impl Message for RouterStatusResponse
impl Message for RouterStatusResponse
Source§impl PartialEq for RouterStatusResponse
impl PartialEq for RouterStatusResponse
impl StructuralPartialEq for RouterStatusResponse
Auto Trait Implementations§
impl Freeze for RouterStatusResponse
impl RefUnwindSafe for RouterStatusResponse
impl Send for RouterStatusResponse
impl Sync for RouterStatusResponse
impl Unpin for RouterStatusResponse
impl UnwindSafe for RouterStatusResponse
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