pub struct CreateQuestionResultResponse {
pub status: ApiStatus,
pub question_result: Box<QuestionResult>,
}Fields§
§status: ApiStatus§question_result: Box<QuestionResult>Implementations§
Source§impl CreateQuestionResultResponse
impl CreateQuestionResultResponse
pub fn new( status: ApiStatus, question_result: QuestionResult, ) -> CreateQuestionResultResponse
Trait Implementations§
Source§impl Clone for CreateQuestionResultResponse
impl Clone for CreateQuestionResultResponse
Source§fn clone(&self) -> CreateQuestionResultResponse
fn clone(&self) -> CreateQuestionResultResponse
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 CreateQuestionResultResponse
impl Debug for CreateQuestionResultResponse
Source§impl Default for CreateQuestionResultResponse
impl Default for CreateQuestionResultResponse
Source§fn default() -> CreateQuestionResultResponse
fn default() -> CreateQuestionResultResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateQuestionResultResponse
impl<'de> Deserialize<'de> for CreateQuestionResultResponse
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 CreateQuestionResultResponse
impl PartialEq for CreateQuestionResultResponse
Source§fn eq(&self, other: &CreateQuestionResultResponse) -> bool
fn eq(&self, other: &CreateQuestionResultResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateQuestionResultResponse
Auto Trait Implementations§
impl Freeze for CreateQuestionResultResponse
impl RefUnwindSafe for CreateQuestionResultResponse
impl Send for CreateQuestionResultResponse
impl Sync for CreateQuestionResultResponse
impl Unpin for CreateQuestionResultResponse
impl UnwindSafe for CreateQuestionResultResponse
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