#[non_exhaustive]pub struct VirtualMachineDetails {
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>,
pub vmware_tags: Option<Vec<VmwareTag>>,
}
Expand description
Your VirtualMachine
objects, ordered by their Amazon Resource Names (ARNs).
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. For example, arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL
.
last_backup_date: Option<DateTime>
The most recent date a virtual machine was backed up, in Unix format and UTC time.
These are the details of the VMware tags associated with the specified virtual machine.
Implementations§
source§impl VirtualMachineDetails
impl VirtualMachineDetails
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. For example, arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL
.
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.
These are the details of the VMware tags associated with the specified virtual machine.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .vmware_tags.is_none()
.
source§impl VirtualMachineDetails
impl VirtualMachineDetails
sourcepub fn builder() -> VirtualMachineDetailsBuilder
pub fn builder() -> VirtualMachineDetailsBuilder
Creates a new builder-style object to manufacture VirtualMachineDetails
.
Trait Implementations§
source§impl Clone for VirtualMachineDetails
impl Clone for VirtualMachineDetails
source§fn clone(&self) -> VirtualMachineDetails
fn clone(&self) -> VirtualMachineDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VirtualMachineDetails
impl Debug for VirtualMachineDetails
source§impl PartialEq for VirtualMachineDetails
impl PartialEq for VirtualMachineDetails
source§fn eq(&self, other: &VirtualMachineDetails) -> bool
fn eq(&self, other: &VirtualMachineDetails) -> bool
self
and other
values to be equal, and is used
by ==
.