#[non_exhaustive]pub struct ModifyVolumeAttributeInput {
pub auto_enable_io: Option<AttributeBooleanValue>,
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.auto_enable_io: Option<AttributeBooleanValue>
Indicates whether the volume should be auto-enabled for I/O operations.
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 ModifyVolumeAttributeInput
impl ModifyVolumeAttributeInput
sourcepub fn auto_enable_io(&self) -> Option<&AttributeBooleanValue>
pub fn auto_enable_io(&self) -> Option<&AttributeBooleanValue>
Indicates whether the volume should be auto-enabled for I/O operations.
source§impl ModifyVolumeAttributeInput
impl ModifyVolumeAttributeInput
sourcepub fn builder() -> ModifyVolumeAttributeInputBuilder
pub fn builder() -> ModifyVolumeAttributeInputBuilder
Creates a new builder-style object to manufacture ModifyVolumeAttributeInput
.
Trait Implementations§
source§impl Clone for ModifyVolumeAttributeInput
impl Clone for ModifyVolumeAttributeInput
source§fn clone(&self) -> ModifyVolumeAttributeInput
fn clone(&self) -> ModifyVolumeAttributeInput
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 ModifyVolumeAttributeInput
impl Debug for ModifyVolumeAttributeInput
source§impl PartialEq<ModifyVolumeAttributeInput> for ModifyVolumeAttributeInput
impl PartialEq<ModifyVolumeAttributeInput> for ModifyVolumeAttributeInput
source§fn eq(&self, other: &ModifyVolumeAttributeInput) -> bool
fn eq(&self, other: &ModifyVolumeAttributeInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModifyVolumeAttributeInput
Auto Trait Implementations§
impl RefUnwindSafe for ModifyVolumeAttributeInput
impl Send for ModifyVolumeAttributeInput
impl Sync for ModifyVolumeAttributeInput
impl Unpin for ModifyVolumeAttributeInput
impl UnwindSafe for ModifyVolumeAttributeInput
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