pub struct CreateSnapshotRequest {
pub description: Option<String>,
pub dry_run: Option<bool>,
pub tag_specifications: Option<Vec<TagSpecification>>,
pub volume_id: String,
}Fields§
§description: Option<String>A description for the snapshot.
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.
tag_specifications: Option<Vec<TagSpecification>>The tags to apply to the snapshot during creation.
volume_id: StringThe ID of the EBS volume.
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 PartialEq for CreateSnapshotRequest
impl PartialEq for CreateSnapshotRequest
impl StructuralPartialEq for CreateSnapshotRequest
Auto Trait Implementations§
impl Freeze for CreateSnapshotRequest
impl RefUnwindSafe for CreateSnapshotRequest
impl Send for CreateSnapshotRequest
impl Sync for CreateSnapshotRequest
impl Unpin 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