logo
pub struct RelationalDatabaseBundle {
    pub bundle_id: Option<String>,
    pub cpu_count: Option<i64>,
    pub disk_size_in_gb: Option<i64>,
    pub is_active: Option<bool>,
    pub is_encrypted: Option<bool>,
    pub name: Option<String>,
    pub price: Option<f32>,
    pub ram_size_in_gb: Option<f32>,
    pub transfer_per_month_in_gb: Option<i64>,
}
Expand description

Describes a database bundle. A bundle describes the performance specifications of the database.

Fields

bundle_id: Option<String>

The ID for the database bundle.

cpu_count: Option<i64>

The number of virtual CPUs (vCPUs) for the database bundle.

disk_size_in_gb: Option<i64>

The size of the disk for the database bundle.

is_active: Option<bool>

A Boolean value indicating whether the database bundle is active.

is_encrypted: Option<bool>

A Boolean value indicating whether the database bundle is encrypted.

name: Option<String>

The name for the database bundle.

price: Option<f32>

The cost of the database bundle in US currency.

ram_size_in_gb: Option<f32>

The amount of RAM in GB (for example, 2.0) for the database bundle.

transfer_per_month_in_gb: Option<i64>

The data transfer rate per month in GB for the database bundle.

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

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more