[][src]Struct rusoto_lightsail::Disk

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>,
    pub tags: Option<Vec<Tag>>,
}

Describes a system disk or an block storage disk.

Fields

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 PartialEq<Disk> for Disk[src]

impl Default for Disk[src]

impl Clone for Disk[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Disk[src]

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

Auto Trait Implementations

impl Send for Disk

impl Sync for Disk

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self