#[non_exhaustive]pub struct CreateLongTermPricingInput {
pub long_term_pricing_type: Option<LongTermPricingType>,
pub is_long_term_pricing_auto_renew: Option<bool>,
pub snowball_type: Option<SnowballType>,
}
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.long_term_pricing_type: Option<LongTermPricingType>
The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.
is_long_term_pricing_auto_renew: Option<bool>
Specifies whether the current long-term pricing type for the device should be renewed.
snowball_type: Option<SnowballType>
The type of Snow Family devices to use for the long-term pricing job.
Implementations§
source§impl CreateLongTermPricingInput
impl CreateLongTermPricingInput
sourcepub fn long_term_pricing_type(&self) -> Option<&LongTermPricingType>
pub fn long_term_pricing_type(&self) -> Option<&LongTermPricingType>
The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.
sourcepub fn is_long_term_pricing_auto_renew(&self) -> Option<bool>
pub fn is_long_term_pricing_auto_renew(&self) -> Option<bool>
Specifies whether the current long-term pricing type for the device should be renewed.
sourcepub fn snowball_type(&self) -> Option<&SnowballType>
pub fn snowball_type(&self) -> Option<&SnowballType>
The type of Snow Family devices to use for the long-term pricing job.
source§impl CreateLongTermPricingInput
impl CreateLongTermPricingInput
sourcepub fn builder() -> CreateLongTermPricingInputBuilder
pub fn builder() -> CreateLongTermPricingInputBuilder
Creates a new builder-style object to manufacture CreateLongTermPricingInput
.
Trait Implementations§
source§impl Clone for CreateLongTermPricingInput
impl Clone for CreateLongTermPricingInput
source§fn clone(&self) -> CreateLongTermPricingInput
fn clone(&self) -> CreateLongTermPricingInput
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 CreateLongTermPricingInput
impl Debug for CreateLongTermPricingInput
source§impl PartialEq for CreateLongTermPricingInput
impl PartialEq for CreateLongTermPricingInput
source§fn eq(&self, other: &CreateLongTermPricingInput) -> bool
fn eq(&self, other: &CreateLongTermPricingInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateLongTermPricingInput
Auto Trait Implementations§
impl Freeze for CreateLongTermPricingInput
impl RefUnwindSafe for CreateLongTermPricingInput
impl Send for CreateLongTermPricingInput
impl Sync for CreateLongTermPricingInput
impl Unpin for CreateLongTermPricingInput
impl UnwindSafe for CreateLongTermPricingInput
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.