pub struct Answer {Show 13 fields
pub field: AnswerField,
pub _type: AnswerType,
pub choice: Option<Choice>,
pub choices: Option<Choices>,
pub date: Option<String>,
pub email: Option<String>,
pub file_url: Option<String>,
pub number: Option<i32>,
pub boolean: Option<bool>,
pub text: Option<String>,
pub url: Option<String>,
pub payment: Option<Payment>,
pub phone_number: Option<String>,
}
Fields§
§field: AnswerField
§_type: AnswerType
The answer-fields’s type.
choice: Option<Choice>
Represents single choice answers for dropdown-like fields.
choices: Option<Choices>
Represents multiple choice answers.
date: Option<String>
§email: Option<String>
§file_url: Option<String>
§number: Option<i32>
§boolean: Option<bool>
§text: Option<String>
§url: Option<String>
§payment: Option<Payment>
§phone_number: Option<String>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Answer
impl<'de> Deserialize<'de> for Answer
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 Answer
impl RefUnwindSafe for Answer
impl Send for Answer
impl Sync for Answer
impl Unpin for Answer
impl UnwindSafe for Answer
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