#[non_exhaustive]pub struct Nsx {
pub internal_ip: String,
pub version: String,
pub state: State,
pub fqdn: String,
/* private fields */
}Expand description
Details about a NSX Manager appliance.
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.internal_ip: StringInternal IP address of the appliance.
version: StringVersion of the appliance.
state: StateOutput only. The state of the appliance.
fqdn: StringFully qualified domain name of the appliance.
Implementations§
Source§impl Nsx
impl Nsx
pub fn new() -> Self
Sourcepub fn set_internal_ip<T: Into<String>>(self, v: T) -> Self
pub fn set_internal_ip<T: Into<String>>(self, v: T) -> Self
Sets the value of internal_ip.
Sourcepub fn set_version<T: Into<String>>(self, v: T) -> Self
pub fn set_version<T: Into<String>>(self, v: T) -> Self
Sets the value of version.
Trait Implementations§
impl StructuralPartialEq for Nsx
Auto Trait Implementations§
impl Freeze for Nsx
impl RefUnwindSafe for Nsx
impl Send for Nsx
impl Sync for Nsx
impl Unpin for Nsx
impl UnwindSafe for Nsx
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