[][src]Struct rusoto_lightsail::Disk

pub struct Disk {
    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>>,
}

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.

tags: Option<Vec<Tag>>

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Trait Implementations

impl Clone for Disk[src]

impl Debug for Disk[src]

impl Default for Disk[src]

impl<'de> Deserialize<'de> for Disk[src]

impl PartialEq<Disk> for Disk[src]

impl StructuralPartialEq for Disk[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.