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 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 AIChallenge
impl Debug for AIChallenge
Source§impl From<AIChallenge> for PostRequest
impl From<AIChallenge> for PostRequest
Source§fn from(challenge: AIChallenge) -> Self
fn from(challenge: AIChallenge) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AIChallenge
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