Struct rusoto_lightsail::Disk
source · [−]pub struct Disk {Show 15 fields
pub add_ons: Option<Vec<AddOn>>,
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>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes a system disk or a block storage disk.
Fields
add_ons: Option<Vec<AddOn>>
An array of objects representing the add-ons enabled on the disk.
arn: Option<String>
The Amazon Resource Name (ARN) of the disk.
attached_to: Option<String>
The resources to which the disk is attached.
created_at: Option<f64>
The date when the disk was created.
iops: Option<i64>
The input/output operations per second (IOPS) of the disk.
is_attached: Option<bool>
A Boolean value indicating whether the disk is attached.
is_system_disk: Option<bool>
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
location: Option<ResourceLocation>
The AWS Region and Availability Zone where the disk is located.
name: Option<String>
The unique name of the disk.
path: Option<String>
The disk path.
resource_type: Option<String>
The Lightsail resource type (e.g., Disk
).
size_in_gb: Option<i64>
The size of the disk in GB.
state: Option<String>
Describes the status of the disk.
support_code: Option<String>
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.
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Disk
impl<'de> Deserialize<'de> for Disk
sourcefn 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
impl StructuralPartialEq for Disk
Auto Trait Implementations
impl RefUnwindSafe for Disk
impl Send for Disk
impl Sync for Disk
impl Unpin for Disk
impl UnwindSafe for Disk
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more