Struct lichess_api::model::challenges::AIChallenge
source · pub struct AIChallenge {
pub base: ChallengeBase,
pub level: u32,
pub color: Color,
}Fields§
§base: ChallengeBase§level: u32§color: ColorTrait Implementations§
source§impl Clone for AIChallenge
impl Clone for AIChallenge
source§fn clone(&self) -> AIChallenge
fn clone(&self) -> AIChallenge
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 AIChallenge
impl Debug for AIChallenge
Auto Trait Implementations§
impl RefUnwindSafe for AIChallenge
impl Send for AIChallenge
impl Sync for AIChallenge
impl Unpin for AIChallenge
impl UnwindSafe for AIChallenge
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