#[non_exhaustive]pub struct Vcenter {
pub internal_ip: String,
pub version: String,
pub state: State,
pub fqdn: String,
/* private fields */
}Expand description
Details about a vCenter Server management 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 Vcenter
impl Vcenter
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 Vcenter
Auto Trait Implementations§
impl Freeze for Vcenter
impl RefUnwindSafe for Vcenter
impl Send for Vcenter
impl Sync for Vcenter
impl Unpin for Vcenter
impl UnwindSafe for Vcenter
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