Struct aws_sdk_backupgateway::model::VirtualMachine
source · [−]#[non_exhaustive]pub struct VirtualMachine {
pub host_name: Option<String>,
pub hypervisor_id: Option<String>,
pub name: Option<String>,
pub path: Option<String>,
pub resource_arn: Option<String>,
pub last_backup_date: Option<DateTime>,
}
Expand description
A virtual machine that is on a hypervisor.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.host_name: Option<String>
The host name of the virtual machine.
hypervisor_id: Option<String>
The ID of the virtual machine's hypervisor.
name: Option<String>
The name of the virtual machine.
path: Option<String>
The path of the virtual machine.
resource_arn: Option<String>
The Amazon Resource Name (ARN) of the virtual machine.
last_backup_date: Option<DateTime>
The most recent date a virtual machine was backed up, in Unix format and UTC time.
Implementations
sourceimpl VirtualMachine
impl VirtualMachine
sourcepub fn hypervisor_id(&self) -> Option<&str>
pub fn hypervisor_id(&self) -> Option<&str>
The ID of the virtual machine's hypervisor.
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the virtual machine.
sourcepub fn last_backup_date(&self) -> Option<&DateTime>
pub fn last_backup_date(&self) -> Option<&DateTime>
The most recent date a virtual machine was backed up, in Unix format and UTC time.
sourceimpl VirtualMachine
impl VirtualMachine
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture VirtualMachine
Trait Implementations
sourceimpl Clone for VirtualMachine
impl Clone for VirtualMachine
sourcefn clone(&self) -> VirtualMachine
fn clone(&self) -> VirtualMachine
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VirtualMachine
impl Debug for VirtualMachine
sourceimpl PartialEq<VirtualMachine> for VirtualMachine
impl PartialEq<VirtualMachine> for VirtualMachine
sourcefn eq(&self, other: &VirtualMachine) -> bool
fn eq(&self, other: &VirtualMachine) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VirtualMachine) -> bool
fn ne(&self, other: &VirtualMachine) -> bool
This method tests for !=
.
impl StructuralPartialEq for VirtualMachine
Auto Trait Implementations
impl RefUnwindSafe for VirtualMachine
impl Send for VirtualMachine
impl Sync for VirtualMachine
impl Unpin for VirtualMachine
impl UnwindSafe for VirtualMachine
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more