pub struct GiftCode {
pub id: i32,
pub created_at: String,
pub updated_at: String,
pub code: String,
pub used: bool,
pub qyt: i32,
pub used_by: i32,
pub product_props: ProductParameter,
pub user_hash_id: Option<String>,
}Expand description
Gift code
Fields§
§id: i32§created_at: String§updated_at: String§code: String§used: bool§qyt: i32§used_by: i32§product_props: ProductParameter§user_hash_id: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for GiftCode
impl<'de> Deserialize<'de> for GiftCode
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
Auto Trait Implementations§
impl Freeze for GiftCode
impl RefUnwindSafe for GiftCode
impl Send for GiftCode
impl Sync for GiftCode
impl Unpin for GiftCode
impl UnsafeUnpin for GiftCode
impl UnwindSafe for GiftCode
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