Struct typeform_rs::Answer [−][src]
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: AnswerTypeThe 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
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 RefUnwindSafe for Answer
impl UnwindSafe for Answer
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more