pub enum TournamentType {
SingleElimination,
DoubleElimination,
RoundRobin,
Swiss,
}Expand description
A type of a tournament.
Variants§
Implementations§
Source§impl TournamentType
impl TournamentType
Sourcepub fn to_get_param<'a>(&self) -> &'a str
pub fn to_get_param<'a>(&self) -> &'a str
Parses tournament type to GET HTTP-method parameters string
Trait Implementations§
Source§impl Clone for TournamentType
impl Clone for TournamentType
Source§fn clone(&self) -> TournamentType
fn clone(&self) -> TournamentType
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 TournamentType
impl Debug for TournamentType
Source§impl Display for TournamentType
impl Display for TournamentType
Source§impl FromStr for TournamentType
impl FromStr for TournamentType
Source§impl PartialEq for TournamentType
impl PartialEq for TournamentType
impl StructuralPartialEq for TournamentType
Auto Trait Implementations§
impl Freeze for TournamentType
impl RefUnwindSafe for TournamentType
impl Send for TournamentType
impl Sync for TournamentType
impl Unpin for TournamentType
impl UnwindSafe for TournamentType
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