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