Struct aws_sdk_eks::types::EksAnywhereSubscriptionTerm
source · #[non_exhaustive]pub struct EksAnywhereSubscriptionTerm {
pub duration: i32,
pub unit: Option<EksAnywhereSubscriptionTermUnit>,
}Expand description
An object representing the term duration and term unit type of your subscription. This determines the term length of your subscription. Valid values are MONTHS for term unit and 12 or 36 for term duration, indicating a 12 month or 36 month subscription.
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.duration: i32The duration of the subscription term. Valid values are 12 and 36, indicating a 12 month or 36 month subscription.
unit: Option<EksAnywhereSubscriptionTermUnit>The term unit of the subscription. Valid value is MONTHS.
Implementations§
source§impl EksAnywhereSubscriptionTerm
impl EksAnywhereSubscriptionTerm
sourcepub fn builder() -> EksAnywhereSubscriptionTermBuilder
pub fn builder() -> EksAnywhereSubscriptionTermBuilder
Creates a new builder-style object to manufacture EksAnywhereSubscriptionTerm.
Trait Implementations§
source§impl Clone for EksAnywhereSubscriptionTerm
impl Clone for EksAnywhereSubscriptionTerm
source§fn clone(&self) -> EksAnywhereSubscriptionTerm
fn clone(&self) -> EksAnywhereSubscriptionTerm
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 EksAnywhereSubscriptionTerm
impl Debug for EksAnywhereSubscriptionTerm
source§impl PartialEq for EksAnywhereSubscriptionTerm
impl PartialEq for EksAnywhereSubscriptionTerm
source§fn eq(&self, other: &EksAnywhereSubscriptionTerm) -> bool
fn eq(&self, other: &EksAnywhereSubscriptionTerm) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EksAnywhereSubscriptionTerm
Auto Trait Implementations§
impl RefUnwindSafe for EksAnywhereSubscriptionTerm
impl Send for EksAnywhereSubscriptionTerm
impl Sync for EksAnywhereSubscriptionTerm
impl Unpin for EksAnywhereSubscriptionTerm
impl UnwindSafe for EksAnywhereSubscriptionTerm
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.