pub struct SignupPromotion {
pub one_time_code: Option<OneTimeCode>,
pub vanity_code: Option<VanityCode>,
}Expand description
The promotion applied on this item when purchased.
This type is not used in any activity, and only used as part of another schema.
Fields§
§one_time_code: Option<OneTimeCode>A one-time code was applied.
vanity_code: Option<VanityCode>A vanity code was applied.
Trait Implementations§
Source§impl Clone for SignupPromotion
impl Clone for SignupPromotion
Source§fn clone(&self) -> SignupPromotion
fn clone(&self) -> SignupPromotion
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 SignupPromotion
impl Debug for SignupPromotion
Source§impl Default for SignupPromotion
impl Default for SignupPromotion
Source§fn default() -> SignupPromotion
fn default() -> SignupPromotion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SignupPromotion
impl<'de> Deserialize<'de> for SignupPromotion
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 SignupPromotion
impl Serialize for SignupPromotion
impl Part for SignupPromotion
Auto Trait Implementations§
impl Freeze for SignupPromotion
impl RefUnwindSafe for SignupPromotion
impl Send for SignupPromotion
impl Sync for SignupPromotion
impl Unpin for SignupPromotion
impl UnwindSafe for SignupPromotion
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