#[non_exhaustive]pub struct UpdateLongTermPricingInput {
pub long_term_pricing_id: Option<String>,
pub replacement_job: Option<String>,
pub is_long_term_pricing_auto_renew: Option<bool>,
}
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_id: Option<String>
The ID of the long-term pricing type for the device.
replacement_job: Option<String>
Specifies that a device that is ordered with long-term pricing should be replaced with a new device.
is_long_term_pricing_auto_renew: Option<bool>
If set to true
, specifies that the current long-term pricing type for the device should be automatically renewed before the long-term pricing contract expires.
Implementations§
source§impl UpdateLongTermPricingInput
impl UpdateLongTermPricingInput
sourcepub fn long_term_pricing_id(&self) -> Option<&str>
pub fn long_term_pricing_id(&self) -> Option<&str>
The ID of the long-term pricing type for the device.
sourcepub fn replacement_job(&self) -> Option<&str>
pub fn replacement_job(&self) -> Option<&str>
Specifies that a device that is ordered with long-term pricing should be replaced with a new device.
sourcepub fn is_long_term_pricing_auto_renew(&self) -> Option<bool>
pub fn is_long_term_pricing_auto_renew(&self) -> Option<bool>
If set to true
, specifies that the current long-term pricing type for the device should be automatically renewed before the long-term pricing contract expires.
source§impl UpdateLongTermPricingInput
impl UpdateLongTermPricingInput
sourcepub fn builder() -> UpdateLongTermPricingInputBuilder
pub fn builder() -> UpdateLongTermPricingInputBuilder
Creates a new builder-style object to manufacture UpdateLongTermPricingInput
.
Trait Implementations§
source§impl Clone for UpdateLongTermPricingInput
impl Clone for UpdateLongTermPricingInput
source§fn clone(&self) -> UpdateLongTermPricingInput
fn clone(&self) -> UpdateLongTermPricingInput
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 UpdateLongTermPricingInput
impl Debug for UpdateLongTermPricingInput
source§impl PartialEq for UpdateLongTermPricingInput
impl PartialEq for UpdateLongTermPricingInput
source§fn eq(&self, other: &UpdateLongTermPricingInput) -> bool
fn eq(&self, other: &UpdateLongTermPricingInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateLongTermPricingInput
Auto Trait Implementations§
impl Freeze for UpdateLongTermPricingInput
impl RefUnwindSafe for UpdateLongTermPricingInput
impl Send for UpdateLongTermPricingInput
impl Sync for UpdateLongTermPricingInput
impl Unpin for UpdateLongTermPricingInput
impl UnwindSafe for UpdateLongTermPricingInput
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.