logo
pub struct ReservationPlan {
    pub commitment: Option<String>,
    pub expires_at: Option<f64>,
    pub purchased_at: Option<f64>,
    pub renewal_type: Option<String>,
    pub reserved_slots: Option<i64>,
    pub status: Option<String>,
}
Expand description

Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.

Fields

commitment: Option<String>

The length of the term of your reserved queue pricing plan commitment.

expires_at: Option<f64>

The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires.

purchased_at: Option<f64>

The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue.

renewal_type: Option<String>

Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires (EXPIRE) at the end of the term.

reserved_slots: Option<i64>

Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. When you increase this number, you extend your existing commitment with a new 12-month commitment for a larger number of RTS. The new commitment begins when you purchase the additional capacity. You can't decrease the number of RTS in your reserved queue.

status: Option<String>

Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.

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