Struct aws_sdk_mediaconnect::types::ResourceSpecification
source · #[non_exhaustive]pub struct ResourceSpecification {
pub reserved_bitrate: Option<i32>,
pub resource_type: Option<ResourceType>,
}Expand description
A definition of what is being billed for, including the type and amount.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.reserved_bitrate: Option<i32>The amount of outbound bandwidth that is discounted in the offering.
resource_type: Option<ResourceType>The type of resource and the unit that is being billed for.
Implementations§
source§impl ResourceSpecification
impl ResourceSpecification
sourcepub fn reserved_bitrate(&self) -> Option<i32>
pub fn reserved_bitrate(&self) -> Option<i32>
The amount of outbound bandwidth that is discounted in the offering.
sourcepub fn resource_type(&self) -> Option<&ResourceType>
pub fn resource_type(&self) -> Option<&ResourceType>
The type of resource and the unit that is being billed for.
source§impl ResourceSpecification
impl ResourceSpecification
sourcepub fn builder() -> ResourceSpecificationBuilder
pub fn builder() -> ResourceSpecificationBuilder
Creates a new builder-style object to manufacture ResourceSpecification.
Trait Implementations§
source§impl Clone for ResourceSpecification
impl Clone for ResourceSpecification
source§fn clone(&self) -> ResourceSpecification
fn clone(&self) -> ResourceSpecification
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ResourceSpecification
impl Debug for ResourceSpecification
source§impl PartialEq for ResourceSpecification
impl PartialEq for ResourceSpecification
source§fn eq(&self, other: &ResourceSpecification) -> bool
fn eq(&self, other: &ResourceSpecification) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ResourceSpecification
Auto Trait Implementations§
impl RefUnwindSafe for ResourceSpecification
impl Send for ResourceSpecification
impl Sync for ResourceSpecification
impl Unpin for ResourceSpecification
impl UnwindSafe for ResourceSpecification
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.