Struct digitalocean::api::Volume []

pub struct Volume { /* fields omitted */ }

Block Storage volumes provide expanded storage capacity for your Droplets and can be moved between Droplets within a specific region. Volumes function as raw block devices, meaning they appear to the operating system as locally attached storage which can be formatted using any file system supported by the OS. They may be created in sizes from 1GiB to 16TiB.

Digital Ocean Documentation.

Methods

impl Volume

impl Volume

The unique identifier for the Block Storage volume.

The region that the Block Storage volume is located in. When setting a region, the value should be the slug identifier for the region. When you query a Block Storage volume, the entire region object will be returned.

An array containing the IDs of the Droplets the volume is attached to. Note that at this time, a volume can only be attached to a single Droplet.

A human-readable name for the Block Storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters.

An optional free-form text field to describe a Block Storage volume.

The size of the Block Storage volume in GiB (10243).

A time value given in ISO8601 combined date and time format that represents when the Block Storage volume was created.

impl Volume
[src]

Trait Implementations

impl Debug for Volume
[src]

Formats the value using the given formatter.

impl Clone for Volume
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl HasResponse for Volume
[src]