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 Freeze for ChallengeBase
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)