pub struct DynamicLotteryData {
pub lottery_id: u64,
pub sender_uid: u64,
pub business_type: u8,
pub business_id: u64,
pub status: u8,
pub lottery_time: u64,
pub participants: u64,
pub first_prize_cmt: String,
pub second_prize_cmt: Option<String>,
pub third_prize_cmt: Option<String>,
pub lottery_result: Option<Value>,
}Expand description
动态抽奖详情响应数据
Fields§
§lottery_id: u64§sender_uid: u64§business_type: u8§business_id: u64§status: u8§lottery_time: u64§participants: u64§first_prize_cmt: String§second_prize_cmt: Option<String>§third_prize_cmt: Option<String>§lottery_result: Option<Value>Trait Implementations§
Source§impl Clone for DynamicLotteryData
impl Clone for DynamicLotteryData
Source§fn clone(&self) -> DynamicLotteryData
fn clone(&self) -> DynamicLotteryData
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 DynamicLotteryData
impl Debug for DynamicLotteryData
Source§impl<'de> Deserialize<'de> for DynamicLotteryData
impl<'de> Deserialize<'de> for DynamicLotteryData
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 DynamicLotteryData
impl RefUnwindSafe for DynamicLotteryData
impl Send for DynamicLotteryData
impl Sync for DynamicLotteryData
impl Unpin for DynamicLotteryData
impl UnwindSafe for DynamicLotteryData
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