#[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 ==
.