pub struct ChallengeResponse {
pub field_name: Option<String>,
pub guid: Option<String>,
pub image_data: Option<String>,
pub image_options: Vec<ImageOptionResponse>,
pub label: Option<String>,
pub options: Vec<OptionResponse>,
pub type_: Option<String>,
}Expand description
ChallengeResponse
JSON schema
{
"type": "object",
"properties": {
"field_name": {
"examples": [
"Who is this guy?"
],
"type": [
"string",
"null"
]
},
"guid": {
"examples": [
"CRD-ce76d2e3-86bd-ec4a-ec52-eb53b5194bf5"
],
"type": [
"string",
"null"
]
},
"image_data": {
"examples": [
"Who is this guy?"
],
"type": [
"string",
"null"
]
},
"image_options": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ImageOptionResponse"
}
},
"label": {
"examples": [
"Who is this guy?"
],
"type": [
"string",
"null"
]
},
"options": {
"type": "array",
"items": {
"$ref": "#/components/schemas/OptionResponse"
}
},
"type": {
"examples": [
"IMAGE_DATA"
],
"type": [
"string",
"null"
]
}
}
}Fields§
§field_name: Option<String>§guid: Option<String>§image_data: Option<String>§image_options: Vec<ImageOptionResponse>§label: Option<String>§options: Vec<OptionResponse>§type_: Option<String>Trait Implementations§
Source§impl Clone for ChallengeResponse
impl Clone for ChallengeResponse
Source§fn clone(&self) -> ChallengeResponse
fn clone(&self) -> ChallengeResponse
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 ChallengeResponse
impl Debug for ChallengeResponse
Source§impl Default for ChallengeResponse
impl Default for ChallengeResponse
Source§impl<'de> Deserialize<'de> for ChallengeResponse
impl<'de> Deserialize<'de> for ChallengeResponse
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<&ChallengeResponse> for ChallengeResponse
impl From<&ChallengeResponse> for ChallengeResponse
Source§fn from(value: &ChallengeResponse) -> Self
fn from(value: &ChallengeResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ChallengeResponse
impl RefUnwindSafe for ChallengeResponse
impl Send for ChallengeResponse
impl Sync for ChallengeResponse
impl Unpin for ChallengeResponse
impl UnwindSafe for ChallengeResponse
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