pub struct ActivationOptions {
pub activation_url: Option<String>,
pub allow_reactivation: Option<bool>,
}
Expand description
ActivationOptions for the class
This type is not used in any activity, and only used as part of another schema.
Fields§
§activation_url: Option<String>
HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users.
allow_reactivation: Option<bool>
Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device.
Trait Implementations§
Source§impl Clone for ActivationOptions
impl Clone for ActivationOptions
Source§fn clone(&self) -> ActivationOptions
fn clone(&self) -> ActivationOptions
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 ActivationOptions
impl Debug for ActivationOptions
Source§impl Default for ActivationOptions
impl Default for ActivationOptions
Source§fn default() -> ActivationOptions
fn default() -> ActivationOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActivationOptions
impl<'de> Deserialize<'de> for ActivationOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ActivationOptions
impl Serialize for ActivationOptions
impl Part for ActivationOptions
Auto Trait Implementations§
impl Freeze for ActivationOptions
impl RefUnwindSafe for ActivationOptions
impl Send for ActivationOptions
impl Sync for ActivationOptions
impl Unpin for ActivationOptions
impl UnwindSafe for ActivationOptions
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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