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