pub struct EarnCoupon {
pub coupon_id: String,
pub coupon_type: String,
pub coin: String,
pub amount: String,
pub status: String,
pub start_time: i64,
pub end_time: i64,
}Fields§
§coupon_id: String§coupon_type: String§coin: String§amount: String§status: String§start_time: i64§end_time: i64Trait Implementations§
Source§impl Clone for EarnCoupon
impl Clone for EarnCoupon
Source§fn clone(&self) -> EarnCoupon
fn clone(&self) -> EarnCoupon
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EarnCoupon
impl Debug for EarnCoupon
Source§impl<'de> Deserialize<'de> for EarnCoupon
impl<'de> Deserialize<'de> for EarnCoupon
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 EarnCoupon
impl RefUnwindSafe for EarnCoupon
impl Send for EarnCoupon
impl Sync for EarnCoupon
impl Unpin for EarnCoupon
impl UnsafeUnpin for EarnCoupon
impl UnwindSafe for EarnCoupon
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