pub struct ModifySnapshotAttributeRequest {
pub snapshot_id: String,
pub attribute: Option<String>,
pub create_volume_permission: Option<CreateVolumePermissionModifications>,
}Expand description
AWS API: ec2.v1.ModifySnapshotAttributeRequest
Reference: https://docs.aws.amazon.com/AWSEC2/latest/APIReference//ModifySnapshotAttributeRequest
§Coverage
3 of 7 fields included. Omitted fields:
GroupNames— not selected in manifestOperationType— not selected in manifestUserIds— not selected in manifestDryRun— not selected in manifest
Fields§
§snapshot_id: StringThe ID of the snapshot.
attribute: Option<String>The snapshot attribute to modify. Only volume creation permissions can be modified.
create_volume_permission: Option<CreateVolumePermissionModifications>A JSON representation of the snapshot attribute modification.
Trait Implementations§
Source§impl Clone for ModifySnapshotAttributeRequest
impl Clone for ModifySnapshotAttributeRequest
Source§fn clone(&self) -> ModifySnapshotAttributeRequest
fn clone(&self) -> ModifySnapshotAttributeRequest
Returns a duplicate 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 Default for ModifySnapshotAttributeRequest
impl Default for ModifySnapshotAttributeRequest
Source§fn default() -> ModifySnapshotAttributeRequest
fn default() -> ModifySnapshotAttributeRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModifySnapshotAttributeRequest
impl<'de> Deserialize<'de> for ModifySnapshotAttributeRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ModifySnapshotAttributeRequest
impl RefUnwindSafe for ModifySnapshotAttributeRequest
impl Send for ModifySnapshotAttributeRequest
impl Sync for ModifySnapshotAttributeRequest
impl Unpin for ModifySnapshotAttributeRequest
impl UnsafeUnpin for ModifySnapshotAttributeRequest
impl UnwindSafe for ModifySnapshotAttributeRequest
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