pub enum RedPacketType {
Normal,
Lucky,
Exclusive {
target_user_ids: Vec<u64>,
},
}Expand description
红包类型
Variants§
Trait Implementations§
Source§impl Clone for RedPacketType
impl Clone for RedPacketType
Source§fn clone(&self) -> RedPacketType
fn clone(&self) -> RedPacketType
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 RedPacketType
impl Debug for RedPacketType
Source§impl<'de> Deserialize<'de> for RedPacketType
impl<'de> Deserialize<'de> for RedPacketType
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 RedPacketType
impl RefUnwindSafe for RedPacketType
impl Send for RedPacketType
impl Sync for RedPacketType
impl Unpin for RedPacketType
impl UnsafeUnpin for RedPacketType
impl UnwindSafe for RedPacketType
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