pub struct AuthoredChallenge {
pub id: String,
pub name: String,
pub description: String,
pub rank: Option<i8>,
pub rank_name: Option<String>,
pub tags: Vec<String>,
pub languages: Vec<String>,
}
Expand description
Represents an authored challenge
Read more at Codewars documentation
Fields§
§id: String
ID of the kata
name: String
Name of the kata
description: String
Description of the kata in Markdown
rank: Option<i8>
Rank of the kata if approved
rank_name: Option<String>
Rank name of the kata if approved
Array of tags associated with the kata
languages: Vec<String>
Array of language names the kata is available in
Trait Implementations§
Source§impl Clone for AuthoredChallenge
impl Clone for AuthoredChallenge
Source§fn clone(&self) -> AuthoredChallenge
fn clone(&self) -> AuthoredChallenge
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 AuthoredChallenge
impl Debug for AuthoredChallenge
Source§impl Default for AuthoredChallenge
impl Default for AuthoredChallenge
Source§fn default() -> AuthoredChallenge
fn default() -> AuthoredChallenge
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthoredChallenge
impl<'de> Deserialize<'de> for AuthoredChallenge
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
Source§impl Hash for AuthoredChallenge
impl Hash for AuthoredChallenge
Source§impl PartialEq for AuthoredChallenge
impl PartialEq for AuthoredChallenge
Source§impl Serialize for AuthoredChallenge
impl Serialize for AuthoredChallenge
impl Eq for AuthoredChallenge
impl StructuralPartialEq for AuthoredChallenge
Auto Trait Implementations§
impl Freeze for AuthoredChallenge
impl RefUnwindSafe for AuthoredChallenge
impl Send for AuthoredChallenge
impl Sync for AuthoredChallenge
impl Unpin for AuthoredChallenge
impl UnwindSafe for AuthoredChallenge
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.