#[non_exhaustive]pub struct DescribeVolumeAttributeInput {
pub attribute: Option<VolumeAttributeName>,
pub volume_id: Option<String>,
pub dry_run: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.attribute: Option<VolumeAttributeName>
The attribute of the volume. This parameter is required.
volume_id: Option<String>
The ID of the volume.
dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Implementations§
source§impl DescribeVolumeAttributeInput
impl DescribeVolumeAttributeInput
sourcepub fn attribute(&self) -> Option<&VolumeAttributeName>
pub fn attribute(&self) -> Option<&VolumeAttributeName>
The attribute of the volume. This parameter is required.
source§impl DescribeVolumeAttributeInput
impl DescribeVolumeAttributeInput
sourcepub fn builder() -> DescribeVolumeAttributeInputBuilder
pub fn builder() -> DescribeVolumeAttributeInputBuilder
Creates a new builder-style object to manufacture DescribeVolumeAttributeInput
.
Trait Implementations§
source§impl Clone for DescribeVolumeAttributeInput
impl Clone for DescribeVolumeAttributeInput
source§fn clone(&self) -> DescribeVolumeAttributeInput
fn clone(&self) -> DescribeVolumeAttributeInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DescribeVolumeAttributeInput
impl Debug for DescribeVolumeAttributeInput
source§impl PartialEq<DescribeVolumeAttributeInput> for DescribeVolumeAttributeInput
impl PartialEq<DescribeVolumeAttributeInput> for DescribeVolumeAttributeInput
source§fn eq(&self, other: &DescribeVolumeAttributeInput) -> bool
fn eq(&self, other: &DescribeVolumeAttributeInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeVolumeAttributeInput
Auto Trait Implementations§
impl RefUnwindSafe for DescribeVolumeAttributeInput
impl Send for DescribeVolumeAttributeInput
impl Sync for DescribeVolumeAttributeInput
impl Unpin for DescribeVolumeAttributeInput
impl UnwindSafe for DescribeVolumeAttributeInput
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
Mutably borrows from an owned value. Read more