Struct aws_sdk_mediaconnect::types::Offering
source · #[non_exhaustive]pub struct Offering {
pub currency_code: Option<String>,
pub duration: Option<i32>,
pub duration_units: Option<DurationUnits>,
pub offering_arn: Option<String>,
pub offering_description: Option<String>,
pub price_per_unit: Option<String>,
pub price_units: Option<PriceUnits>,
pub resource_specification: Option<ResourceSpecification>,
}
Expand description
A savings plan that reserves a certain amount of outbound bandwidth usage at a discounted rate each month over a period of time.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.currency_code: Option<String>
The type of currency that is used for billing. The currencyCode used for all reservations is US dollars.
duration: Option<i32>
The length of time that your reservation would be active.
duration_units: Option<DurationUnits>
The unit of measurement for the duration of the offering.
offering_arn: Option<String>
The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.
offering_description: Option<String>
A description of the offering.
price_per_unit: Option<String>
The cost of a single unit. This value, in combination with priceUnits, makes up the rate.
price_units: Option<PriceUnits>
The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate.
resource_specification: Option<ResourceSpecification>
A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering.
Implementations§
source§impl Offering
impl Offering
sourcepub fn currency_code(&self) -> Option<&str>
pub fn currency_code(&self) -> Option<&str>
The type of currency that is used for billing. The currencyCode used for all reservations is US dollars.
sourcepub fn duration(&self) -> Option<i32>
pub fn duration(&self) -> Option<i32>
The length of time that your reservation would be active.
sourcepub fn duration_units(&self) -> Option<&DurationUnits>
pub fn duration_units(&self) -> Option<&DurationUnits>
The unit of measurement for the duration of the offering.
sourcepub fn offering_arn(&self) -> Option<&str>
pub fn offering_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.
sourcepub fn offering_description(&self) -> Option<&str>
pub fn offering_description(&self) -> Option<&str>
A description of the offering.
sourcepub fn price_per_unit(&self) -> Option<&str>
pub fn price_per_unit(&self) -> Option<&str>
The cost of a single unit. This value, in combination with priceUnits, makes up the rate.
sourcepub fn price_units(&self) -> Option<&PriceUnits>
pub fn price_units(&self) -> Option<&PriceUnits>
The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate.
sourcepub fn resource_specification(&self) -> Option<&ResourceSpecification>
pub fn resource_specification(&self) -> Option<&ResourceSpecification>
A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering.
Trait Implementations§
source§impl PartialEq for Offering
impl PartialEq for Offering
impl StructuralPartialEq for Offering
Auto Trait Implementations§
impl Freeze for Offering
impl RefUnwindSafe for Offering
impl Send for Offering
impl Sync for Offering
impl Unpin for Offering
impl UnwindSafe for Offering
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more