#[non_exhaustive]pub struct ListVolumesOutput {
pub gateway_arn: Option<String>,
pub marker: Option<String>,
pub volume_infos: Option<Vec<VolumeInfo>>,
/* private fields */
}
Expand description
A JSON object containing the following fields:
-
ListVolumesOutput$Marker
-
ListVolumesOutput$VolumeInfos
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.gateway_arn: Option<String>
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
marker: Option<String>
Use the marker in your next request to continue pagination of iSCSI volumes. If there are no more volumes to list, this field does not appear in the response body.
volume_infos: Option<Vec<VolumeInfo>>
An array of VolumeInfo
objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, then VolumeInfos
is an empty array "[]".
Implementations§
source§impl ListVolumesOutput
impl ListVolumesOutput
sourcepub fn gateway_arn(&self) -> Option<&str>
pub fn gateway_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
sourcepub fn marker(&self) -> Option<&str>
pub fn marker(&self) -> Option<&str>
Use the marker in your next request to continue pagination of iSCSI volumes. If there are no more volumes to list, this field does not appear in the response body.
sourcepub fn volume_infos(&self) -> &[VolumeInfo]
pub fn volume_infos(&self) -> &[VolumeInfo]
An array of VolumeInfo
objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, then VolumeInfos
is an empty array "[]".
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .volume_infos.is_none()
.
source§impl ListVolumesOutput
impl ListVolumesOutput
sourcepub fn builder() -> ListVolumesOutputBuilder
pub fn builder() -> ListVolumesOutputBuilder
Creates a new builder-style object to manufacture ListVolumesOutput
.
Trait Implementations§
source§impl Clone for ListVolumesOutput
impl Clone for ListVolumesOutput
source§fn clone(&self) -> ListVolumesOutput
fn clone(&self) -> ListVolumesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListVolumesOutput
impl Debug for ListVolumesOutput
source§impl PartialEq for ListVolumesOutput
impl PartialEq for ListVolumesOutput
source§fn eq(&self, other: &ListVolumesOutput) -> bool
fn eq(&self, other: &ListVolumesOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListVolumesOutput
impl RequestId for ListVolumesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for ListVolumesOutput
Auto Trait Implementations§
impl Freeze for ListVolumesOutput
impl RefUnwindSafe for ListVolumesOutput
impl Send for ListVolumesOutput
impl Sync for ListVolumesOutput
impl Unpin for ListVolumesOutput
impl UnwindSafe for ListVolumesOutput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more