pub struct CreateSnapshotRequest {
pub volume_id: String,
pub description: Option<String>,
}Expand description
AWS API: ec2.v1.CreateSnapshotRequest
Reference: https://docs.aws.amazon.com/AWSEC2/latest/APIReference//CreateSnapshotRequest
§Coverage
2 of 6 fields included. Omitted fields:
OutpostArn— not selected in manifestTagSpecifications— not selected in manifestLocation— not selected in manifestDryRun— not selected in manifest
Fields§
§volume_id: StringThe ID of the Amazon EBS volume.
description: Option<String>A description for the snapshot.
Trait Implementations§
Source§impl Clone for CreateSnapshotRequest
impl Clone for CreateSnapshotRequest
Source§fn clone(&self) -> CreateSnapshotRequest
fn clone(&self) -> CreateSnapshotRequest
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 Debug for CreateSnapshotRequest
impl Debug for CreateSnapshotRequest
Source§impl Default for CreateSnapshotRequest
impl Default for CreateSnapshotRequest
Source§fn default() -> CreateSnapshotRequest
fn default() -> CreateSnapshotRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateSnapshotRequest
impl<'de> Deserialize<'de> for CreateSnapshotRequest
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 CreateSnapshotRequest
impl RefUnwindSafe for CreateSnapshotRequest
impl Send for CreateSnapshotRequest
impl Sync for CreateSnapshotRequest
impl Unpin for CreateSnapshotRequest
impl UnsafeUnpin for CreateSnapshotRequest
impl UnwindSafe for CreateSnapshotRequest
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