Struct digitalocean::api::Region

source ·
pub struct Region { /* private fields */ }
Expand description

A region in DigitalOcean represents a datacenter where Droplets can be deployed and images can be transferred.

Each region represents a specific datacenter in a geographic location. Some geographical locations may have multiple “regions” available. This means that there are multiple datacenters available within that area.

Digital Ocean Documentation.

Implementations§

A human-readable string that is used as a unique identifier for each region.

The display name of the region. This will be a full name that is used in the control panel and other interfaces.

This attribute is set to an array which contains the identifying slugs for the sizes available in this region.

This is a boolean value that represents whether new Droplets can be created in this region.

This attribute is set to an array which contains features available in this region

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.