pub enum StorageClass {
    Standard,
    Nearline,
    Coldline,
    MultiRegional,
    Regional,
    DurableReducedAvailability,
}
Expand description

The type of storage that is used. Pertains to availability, performance and cost.

Variants

Standard

Standard Storage is best for data that is frequently accessed (“hot” data) and/or stored for only brief periods of time.

Nearline

Nearline Storage is a low-cost, highly durable storage service for storing infrequently accessed data.

Coldline

Coldline Storage is a very-low-cost, highly durable storage service for data archiving, online backup, and disaster recovery.

MultiRegional

Equivalent to Standard Storage, except Multi-Regional Storage can only be used for objects stored in multi-regions or dual-regions.

Regional

Equivalent to Standard Storage, except Regional Storage can only be used for objects stored in regions.

DurableReducedAvailability

Similar to Standard Storage except:

DRA has higher pricing for operations. DRA has lower performance, particularly in terms of availability (DRA has a 99% availability SLA).

You can move your data from DRA to other storage classes by performing a storage transfer.

Trait Implementations

Formats the value using the given formatter. 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 !=.

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.

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.

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