Struct aws_sdk_storagegateway::operation::describe_upload_buffer::DescribeUploadBufferOutput
source · #[non_exhaustive]pub struct DescribeUploadBufferOutput {
pub gateway_arn: Option<String>,
pub disk_ids: Option<Vec<String>>,
pub upload_buffer_used_in_bytes: i64,
pub upload_buffer_allocated_in_bytes: i64,
/* 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.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.
upload_buffer_used_in_bytes: i64The total number of bytes being used in the gateway's upload buffer.
upload_buffer_allocated_in_bytes: i64The total number of bytes allocated in the gateway's as upload buffer.
Implementations§
source§impl DescribeUploadBufferOutput
impl DescribeUploadBufferOutput
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 upload_buffer_used_in_bytes(&self) -> i64
pub fn upload_buffer_used_in_bytes(&self) -> i64
The total number of bytes being used in the gateway's upload buffer.
sourcepub fn upload_buffer_allocated_in_bytes(&self) -> i64
pub fn upload_buffer_allocated_in_bytes(&self) -> i64
The total number of bytes allocated in the gateway's as upload buffer.
source§impl DescribeUploadBufferOutput
impl DescribeUploadBufferOutput
sourcepub fn builder() -> DescribeUploadBufferOutputBuilder
pub fn builder() -> DescribeUploadBufferOutputBuilder
Creates a new builder-style object to manufacture DescribeUploadBufferOutput.
Trait Implementations§
source§impl Clone for DescribeUploadBufferOutput
impl Clone for DescribeUploadBufferOutput
source§fn clone(&self) -> DescribeUploadBufferOutput
fn clone(&self) -> DescribeUploadBufferOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeUploadBufferOutput
impl Debug for DescribeUploadBufferOutput
source§impl PartialEq for DescribeUploadBufferOutput
impl PartialEq for DescribeUploadBufferOutput
source§fn eq(&self, other: &DescribeUploadBufferOutput) -> bool
fn eq(&self, other: &DescribeUploadBufferOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for DescribeUploadBufferOutput
impl RequestId for DescribeUploadBufferOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for DescribeUploadBufferOutput
Auto Trait Implementations§
impl Freeze for DescribeUploadBufferOutput
impl RefUnwindSafe for DescribeUploadBufferOutput
impl Send for DescribeUploadBufferOutput
impl Sync for DescribeUploadBufferOutput
impl Unpin for DescribeUploadBufferOutput
impl UnwindSafe for DescribeUploadBufferOutput
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