pub struct Challenge {Show 13 fields
pub id: u64,
pub name: String,
pub difficulty: Option<String>,
pub state: Option<String>,
pub category_id: Option<u64>,
pub category_name: Option<String>,
pub solves: u32,
pub is_owned: bool,
pub rating: Option<f64>,
pub rating_count: Option<u32>,
pub release_date: Option<String>,
pub play_methods: Vec<String>,
pub labels: Vec<Label>,
}Fields§
§id: u64§name: String§difficulty: Option<String>§state: Option<String>§category_id: Option<u64>§category_name: Option<String>§solves: u32§is_owned: bool§rating: Option<f64>§rating_count: Option<u32>§release_date: Option<String>§play_methods: Vec<String>§labels: Vec<Label>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Challenge
impl<'de> Deserialize<'de> for Challenge
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 Freeze for Challenge
impl RefUnwindSafe for Challenge
impl Send for Challenge
impl Sync for Challenge
impl Unpin for Challenge
impl UnsafeUnpin for Challenge
impl UnwindSafe for Challenge
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