pub enum Competition {
UserCompetitionHalloween(UserCompetitionHalloween),
UserCompetitionEasterEggs(UserCompetitionEasterEggs),
UserCompetitionRps(UserCompetitionRps),
}
Variants§
UserCompetitionHalloween(UserCompetitionHalloween)
UserCompetitionEasterEggs(UserCompetitionEasterEggs)
UserCompetitionRps(UserCompetitionRps)
Trait Implementations§
Source§impl Clone for Competition
impl Clone for Competition
Source§fn clone(&self) -> Competition
fn clone(&self) -> Competition
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 Competition
impl Debug for Competition
Source§impl<'de> Deserialize<'de> for Competition
impl<'de> Deserialize<'de> for Competition
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 From<UserCompetitionEasterEggs> for Competition
impl From<UserCompetitionEasterEggs> for Competition
Source§fn from(value: UserCompetitionEasterEggs) -> Self
fn from(value: UserCompetitionEasterEggs) -> Self
Converts to this type from the input type.
Source§impl From<UserCompetitionHalloween> for Competition
impl From<UserCompetitionHalloween> for Competition
Source§fn from(value: UserCompetitionHalloween) -> Self
fn from(value: UserCompetitionHalloween) -> Self
Converts to this type from the input type.
Source§impl From<UserCompetitionRps> for Competition
impl From<UserCompetitionRps> for Competition
Source§fn from(value: UserCompetitionRps) -> Self
fn from(value: UserCompetitionRps) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Competition
impl PartialEq for Competition
impl StructuralPartialEq for Competition
Auto Trait Implementations§
impl Freeze for Competition
impl RefUnwindSafe for Competition
impl Send for Competition
impl Sync for Competition
impl Unpin for Competition
impl UnwindSafe for Competition
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