pub enum PremiumGiveawayInfo {
Ongoing(PremiumGiveawayInfoOngoing),
Completed(PremiumGiveawayInfoCompleted),
}Variants§
Ongoing(PremiumGiveawayInfoOngoing)
Describes an ongoing giveaway
Completed(PremiumGiveawayInfoCompleted)
Describes a completed giveaway
Trait Implementations§
Source§impl Clone for PremiumGiveawayInfo
impl Clone for PremiumGiveawayInfo
Source§fn clone(&self) -> PremiumGiveawayInfo
fn clone(&self) -> PremiumGiveawayInfo
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 PremiumGiveawayInfo
impl Debug for PremiumGiveawayInfo
Source§impl<'de> Deserialize<'de> for PremiumGiveawayInfo
impl<'de> Deserialize<'de> for PremiumGiveawayInfo
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
Source§impl PartialEq for PremiumGiveawayInfo
impl PartialEq for PremiumGiveawayInfo
Source§impl Serialize for PremiumGiveawayInfo
impl Serialize for PremiumGiveawayInfo
impl StructuralPartialEq for PremiumGiveawayInfo
Auto Trait Implementations§
impl Freeze for PremiumGiveawayInfo
impl RefUnwindSafe for PremiumGiveawayInfo
impl Send for PremiumGiveawayInfo
impl Sync for PremiumGiveawayInfo
impl Unpin for PremiumGiveawayInfo
impl UnwindSafe for PremiumGiveawayInfo
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