pub struct RedPacketGot {
pub userId: String,
pub userName: String,
pub avatar: String,
pub userMoney: u32,
pub time: String,
}Expand description
红包领取者信息
Fields§
§userId: String用户ID
userName: String用户名
avatar: String用户头像
userMoney: u32领取到的积分
time: String领取时间
Trait Implementations§
Source§impl Clone for RedPacketGot
impl Clone for RedPacketGot
Source§fn clone(&self) -> RedPacketGot
fn clone(&self) -> RedPacketGot
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 moreAuto Trait Implementations§
impl Freeze for RedPacketGot
impl RefUnwindSafe for RedPacketGot
impl Send for RedPacketGot
impl Sync for RedPacketGot
impl Unpin for RedPacketGot
impl UnsafeUnpin for RedPacketGot
impl UnwindSafe for RedPacketGot
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