pub struct DiskSnapshot {
pub arn: Option<String>,
pub created_at: Option<f64>,
pub from_disk_arn: Option<String>,
pub from_disk_name: Option<String>,
pub location: Option<ResourceLocation>,
pub name: Option<String>,
pub progress: Option<String>,
pub resource_type: Option<String>,
pub size_in_gb: Option<i64>,
pub state: Option<String>,
pub support_code: Option<String>,
}
Describes a block storage disk snapshot.
The Amazon Resource Name (ARN) of the disk snapshot.
The date when the disk snapshot was created.
The Amazon Resource Name (ARN) of the source disk from which you are creating the disk snapshot.
The unique name of the source disk from which you are creating the disk snapshot.
The AWS Region and Availability Zone where the disk snapshot was created.
The name of the disk snapshot (e.g., my-disk-snapshot
).
The progress of the disk snapshot operation.
The Lightsail resource type (e.g., DiskSnapshot
).
The size of the disk in GB.
The status of the disk snapshot operation.
The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static