Struct lichess_api::model::challenges::ChallengeBase
source · pub struct ChallengeBase {
pub clock_limit: Option<u32>,
pub clock_increment: Option<u32>,
pub days: Option<Days>,
pub variant: VariantKey,
pub fen: Option<String>,
}Fields§
§clock_limit: Option<u32>§clock_increment: Option<u32>§days: Option<Days>§variant: VariantKey§fen: Option<String>Trait Implementations§
source§impl Clone for ChallengeBase
impl Clone for ChallengeBase
source§fn clone(&self) -> ChallengeBase
fn clone(&self) -> ChallengeBase
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 ChallengeBase
impl Debug for ChallengeBase
Auto Trait Implementations§
impl RefUnwindSafe for ChallengeBase
impl Send for ChallengeBase
impl Sync for ChallengeBase
impl Unpin for ChallengeBase
impl UnwindSafe for ChallengeBase
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