#[non_exhaustive]pub struct ListVirtualMachinesOutput {
pub virtual_machines: Option<Vec<VirtualMachine>>,
pub next_token: Option<String>,
/* private fields */
}
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.virtual_machines: Option<Vec<VirtualMachine>>
A list of your VirtualMachine
objects, ordered by their Amazon Resource Names (ARNs).
next_token: Option<String>
The next item following a partial list of returned resources. For example, if a request is made to return maxResults
number of resources, NextToken
allows you to return more items in your list starting at the location pointed to by the next token.
Implementations§
source§impl ListVirtualMachinesOutput
impl ListVirtualMachinesOutput
sourcepub fn virtual_machines(&self) -> &[VirtualMachine]
pub fn virtual_machines(&self) -> &[VirtualMachine]
A list of your VirtualMachine
objects, ordered by their Amazon Resource Names (ARNs).
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .virtual_machines.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The next item following a partial list of returned resources. For example, if a request is made to return maxResults
number of resources, NextToken
allows you to return more items in your list starting at the location pointed to by the next token.
source§impl ListVirtualMachinesOutput
impl ListVirtualMachinesOutput
sourcepub fn builder() -> ListVirtualMachinesOutputBuilder
pub fn builder() -> ListVirtualMachinesOutputBuilder
Creates a new builder-style object to manufacture ListVirtualMachinesOutput
.
Trait Implementations§
source§impl Clone for ListVirtualMachinesOutput
impl Clone for ListVirtualMachinesOutput
source§fn clone(&self) -> ListVirtualMachinesOutput
fn clone(&self) -> ListVirtualMachinesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListVirtualMachinesOutput
impl Debug for ListVirtualMachinesOutput
source§impl PartialEq for ListVirtualMachinesOutput
impl PartialEq for ListVirtualMachinesOutput
source§fn eq(&self, other: &ListVirtualMachinesOutput) -> bool
fn eq(&self, other: &ListVirtualMachinesOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListVirtualMachinesOutput
impl RequestId for ListVirtualMachinesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.