Struct rusoto_medialive::Reservation
source · [−]pub struct Reservation {Show 18 fields
pub arn: Option<String>,
pub count: Option<i64>,
pub currency_code: Option<String>,
pub duration: Option<i64>,
pub duration_units: Option<String>,
pub end: Option<String>,
pub fixed_price: Option<f64>,
pub name: Option<String>,
pub offering_description: Option<String>,
pub offering_id: Option<String>,
pub offering_type: Option<String>,
pub region: Option<String>,
pub reservation_id: Option<String>,
pub resource_specification: Option<ReservationResourceSpecification>,
pub start: Option<String>,
pub state: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub usage_price: Option<f64>,
}
Expand description
Reserved resources available to use
Fields
arn: Option<String>
Unique reservation ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'
count: Option<i64>
Number of reserved resources
currency_code: Option<String>
Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
duration: Option<i64>
Lease duration, e.g. '12'
duration_units: Option<String>
Units for duration, e.g. 'MONTHS'
end: Option<String>
Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00'
fixed_price: Option<f64>
One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering
name: Option<String>
User specified reservation name
offering_description: Option<String>
Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'
offering_id: Option<String>
Unique offering ID, e.g. '87654321'
offering_type: Option<String>
Offering type, e.g. 'NO_UPFRONT'
region: Option<String>
AWS region, e.g. 'us-west-2'
reservation_id: Option<String>
Unique reservation ID, e.g. '1234567'
resource_specification: Option<ReservationResourceSpecification>
Resource configuration details
start: Option<String>
Reservation UTC start date and time in ISO-8601 format, e.g. '2018-03-01T00:00:00'
state: Option<String>
Current state of reservation, e.g. 'ACTIVE'
A collection of key-value pairs
usage_price: Option<f64>
Recurring usage charge for each reserved resource, e.g. '157.0'
Trait Implementations
sourceimpl Clone for Reservation
impl Clone for Reservation
sourcefn clone(&self) -> Reservation
fn clone(&self) -> Reservation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Reservation
impl Debug for Reservation
sourceimpl Default for Reservation
impl Default for Reservation
sourcefn default() -> Reservation
fn default() -> Reservation
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Reservation
impl<'de> Deserialize<'de> for Reservation
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<Reservation> for Reservation
impl PartialEq<Reservation> for Reservation
sourcefn eq(&self, other: &Reservation) -> bool
fn eq(&self, other: &Reservation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Reservation) -> bool
fn ne(&self, other: &Reservation) -> bool
This method tests for !=
.
impl StructuralPartialEq for Reservation
Auto Trait Implementations
impl RefUnwindSafe for Reservation
impl Send for Reservation
impl Sync for Reservation
impl Unpin for Reservation
impl UnwindSafe for Reservation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more