pub struct PendingServerRequestQuestion {
pub id: String,
pub header: Option<String>,
pub question: Option<String>,
pub required: bool,
pub options: Vec<PendingServerRequestOption>,
pub raw: Value,
}Fields§
§id: String§header: Option<String>§question: Option<String>§required: bool§options: Vec<PendingServerRequestOption>§raw: ValueTrait Implementations§
Source§impl Clone for PendingServerRequestQuestion
impl Clone for PendingServerRequestQuestion
Source§fn clone(&self) -> PendingServerRequestQuestion
fn clone(&self) -> PendingServerRequestQuestion
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 PendingServerRequestQuestion
impl Debug for PendingServerRequestQuestion
Source§impl Default for PendingServerRequestQuestion
impl Default for PendingServerRequestQuestion
Source§fn default() -> PendingServerRequestQuestion
fn default() -> PendingServerRequestQuestion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PendingServerRequestQuestionwhere
PendingServerRequestQuestion: Default,
impl<'de> Deserialize<'de> for PendingServerRequestQuestionwhere
PendingServerRequestQuestion: Default,
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 PartialEq for PendingServerRequestQuestion
impl PartialEq for PendingServerRequestQuestion
Source§fn eq(&self, other: &PendingServerRequestQuestion) -> bool
fn eq(&self, other: &PendingServerRequestQuestion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PendingServerRequestQuestion
Auto Trait Implementations§
impl Freeze for PendingServerRequestQuestion
impl RefUnwindSafe for PendingServerRequestQuestion
impl Send for PendingServerRequestQuestion
impl Sync for PendingServerRequestQuestion
impl Unpin for PendingServerRequestQuestion
impl UnsafeUnpin for PendingServerRequestQuestion
impl UnwindSafe for PendingServerRequestQuestion
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