pub struct ChallengesResponseBody {
pub challenges: Vec<ChallengeResponse>,
pub pagination: Option<PaginationResponse>,
}Expand description
ChallengesResponseBody
JSON schema
{
"type": "object",
"properties": {
"challenges": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ChallengeResponse"
}
},
"pagination": {
"$ref": "#/components/schemas/PaginationResponse"
}
}
}Fields§
§challenges: Vec<ChallengeResponse>§pagination: Option<PaginationResponse>Trait Implementations§
Source§impl Clone for ChallengesResponseBody
impl Clone for ChallengesResponseBody
Source§fn clone(&self) -> ChallengesResponseBody
fn clone(&self) -> ChallengesResponseBody
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 ChallengesResponseBody
impl Debug for ChallengesResponseBody
Source§impl Default for ChallengesResponseBody
impl Default for ChallengesResponseBody
Source§impl<'de> Deserialize<'de> for ChallengesResponseBody
impl<'de> Deserialize<'de> for ChallengesResponseBody
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 From<&ChallengesResponseBody> for ChallengesResponseBody
impl From<&ChallengesResponseBody> for ChallengesResponseBody
Source§fn from(value: &ChallengesResponseBody) -> Self
fn from(value: &ChallengesResponseBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ChallengesResponseBody
impl RefUnwindSafe for ChallengesResponseBody
impl Send for ChallengesResponseBody
impl Sync for ChallengesResponseBody
impl Unpin for ChallengesResponseBody
impl UnwindSafe for ChallengesResponseBody
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