#[non_exhaustive]pub struct UpdateSubscriptionInput {
pub auto_renew: Option<AutoRenew>,
}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.auto_renew: Option<AutoRenew>When you initally create a subscription, AutoRenew is set to ENABLED. If ENABLED, the subscription will be automatically renewed at the end of the existing subscription period. You can change this by submitting an UpdateSubscription request. If the UpdateSubscription request does not included a value for AutoRenew, the existing value for AutoRenew remains unchanged.
Implementations§
source§impl UpdateSubscriptionInput
impl UpdateSubscriptionInput
sourcepub fn auto_renew(&self) -> Option<&AutoRenew>
pub fn auto_renew(&self) -> Option<&AutoRenew>
When you initally create a subscription, AutoRenew is set to ENABLED. If ENABLED, the subscription will be automatically renewed at the end of the existing subscription period. You can change this by submitting an UpdateSubscription request. If the UpdateSubscription request does not included a value for AutoRenew, the existing value for AutoRenew remains unchanged.
source§impl UpdateSubscriptionInput
impl UpdateSubscriptionInput
sourcepub fn builder() -> UpdateSubscriptionInputBuilder
pub fn builder() -> UpdateSubscriptionInputBuilder
Creates a new builder-style object to manufacture UpdateSubscriptionInput.
Trait Implementations§
source§impl Clone for UpdateSubscriptionInput
impl Clone for UpdateSubscriptionInput
source§fn clone(&self) -> UpdateSubscriptionInput
fn clone(&self) -> UpdateSubscriptionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateSubscriptionInput
impl Debug for UpdateSubscriptionInput
source§impl PartialEq for UpdateSubscriptionInput
impl PartialEq for UpdateSubscriptionInput
source§fn eq(&self, other: &UpdateSubscriptionInput) -> bool
fn eq(&self, other: &UpdateSubscriptionInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateSubscriptionInput
Auto Trait Implementations§
impl Freeze for UpdateSubscriptionInput
impl RefUnwindSafe for UpdateSubscriptionInput
impl Send for UpdateSubscriptionInput
impl Sync for UpdateSubscriptionInput
impl Unpin for UpdateSubscriptionInput
impl UnwindSafe for UpdateSubscriptionInput
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