pub struct Disk {
pub arn: Option<String>,
pub attached_to: Option<String>,
pub created_at: Option<f64>,
pub iops: Option<i64>,
pub is_attached: Option<bool>,
pub is_system_disk: Option<bool>,
pub location: Option<ResourceLocation>,
pub name: Option<String>,
pub path: Option<String>,
pub resource_type: Option<String>,
pub size_in_gb: Option<i64>,
pub state: Option<String>,
pub support_code: Option<String>,
}
Describes a system disk or an block storage disk.
The Amazon Resource Name (ARN) of the disk.
The resources to which the disk is attached.
The date when the disk was created.
The input/output operations per second (IOPS) of the disk.
A Boolean value indicating whether the disk is attached.
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
The AWS Region and Availability Zone where the disk is located.
The unique name of the disk.
The Lightsail resource type (e.g., Disk
).
The size of the disk in GB.
Describes the status of the disk.
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
🔬 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
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static