pub struct OneTimeCode { /* private fields */ }Expand description
A single use promotion code.
This type is not used in any activity, and only used as part of another schema.
Trait Implementations§
Source§impl Clone for OneTimeCode
impl Clone for OneTimeCode
Source§fn clone(&self) -> OneTimeCode
fn clone(&self) -> OneTimeCode
Returns a duplicate 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 OneTimeCode
impl Debug for OneTimeCode
Source§impl Default for OneTimeCode
impl Default for OneTimeCode
Source§fn default() -> OneTimeCode
fn default() -> OneTimeCode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OneTimeCode
impl<'de> Deserialize<'de> for OneTimeCode
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 OneTimeCode
impl Serialize for OneTimeCode
impl Part for OneTimeCode
Auto Trait Implementations§
impl Freeze for OneTimeCode
impl RefUnwindSafe for OneTimeCode
impl Send for OneTimeCode
impl Sync for OneTimeCode
impl Unpin for OneTimeCode
impl UnwindSafe for OneTimeCode
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