Enum lichess_api::model::challenges::TimeControl
source · pub enum TimeControl {
Clock {
increment: u32,
limit: u32,
show: String,
},
Correspondance {
days_per_turn: u32,
},
Unlimited,
}Variants§
Trait Implementations§
source§impl Clone for TimeControl
impl Clone for TimeControl
source§fn clone(&self) -> TimeControl
fn clone(&self) -> TimeControl
Returns a copy 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 TimeControl
impl Debug for TimeControl
source§impl<'de> Deserialize<'de> for TimeControl
impl<'de> Deserialize<'de> for TimeControl
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 RefUnwindSafe for TimeControl
impl Send for TimeControl
impl Sync for TimeControl
impl Unpin for TimeControl
impl UnwindSafe for TimeControl
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