Struct aws_sdk_storagegateway::operation::describe_working_storage::DescribeWorkingStorageOutput
source · #[non_exhaustive]pub struct DescribeWorkingStorageOutput {
pub gateway_arn: Option<String>,
pub disk_ids: Option<Vec<String>>,
pub working_storage_used_in_bytes: i64,
pub working_storage_allocated_in_bytes: i64,
/* private fields */
}
Expand description
A JSON object containing the following 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.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.
disk_ids: Option<Vec<String>>
An array of the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty.
working_storage_used_in_bytes: i64
The total working storage in bytes in use by the gateway. If no working storage is configured for the gateway, this field returns 0.
working_storage_allocated_in_bytes: i64
The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0.
Implementations§
source§impl DescribeWorkingStorageOutput
impl DescribeWorkingStorageOutput
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 disk_ids(&self) -> &[String]
pub fn disk_ids(&self) -> &[String]
An array of the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .disk_ids.is_none()
.
sourcepub fn working_storage_used_in_bytes(&self) -> i64
pub fn working_storage_used_in_bytes(&self) -> i64
The total working storage in bytes in use by the gateway. If no working storage is configured for the gateway, this field returns 0.
sourcepub fn working_storage_allocated_in_bytes(&self) -> i64
pub fn working_storage_allocated_in_bytes(&self) -> i64
The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0.
source§impl DescribeWorkingStorageOutput
impl DescribeWorkingStorageOutput
sourcepub fn builder() -> DescribeWorkingStorageOutputBuilder
pub fn builder() -> DescribeWorkingStorageOutputBuilder
Creates a new builder-style object to manufacture DescribeWorkingStorageOutput
.
Trait Implementations§
source§impl Clone for DescribeWorkingStorageOutput
impl Clone for DescribeWorkingStorageOutput
source§fn clone(&self) -> DescribeWorkingStorageOutput
fn clone(&self) -> DescribeWorkingStorageOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeWorkingStorageOutput
impl Debug for DescribeWorkingStorageOutput
source§impl PartialEq for DescribeWorkingStorageOutput
impl PartialEq for DescribeWorkingStorageOutput
source§fn eq(&self, other: &DescribeWorkingStorageOutput) -> bool
fn eq(&self, other: &DescribeWorkingStorageOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeWorkingStorageOutput
impl RequestId for DescribeWorkingStorageOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for DescribeWorkingStorageOutput
Auto Trait Implementations§
impl Freeze for DescribeWorkingStorageOutput
impl RefUnwindSafe for DescribeWorkingStorageOutput
impl Send for DescribeWorkingStorageOutput
impl Sync for DescribeWorkingStorageOutput
impl Unpin for DescribeWorkingStorageOutput
impl UnwindSafe for DescribeWorkingStorageOutput
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