pub struct ChoiceOption {
pub label: String,
pub description: String,
pub image: Option<PathBuf>,
}Fields§
§label: String§description: String§image: Option<PathBuf>Trait Implementations§
Source§impl Clone for ChoiceOption
impl Clone for ChoiceOption
Source§impl Debug for ChoiceOption
impl Debug for ChoiceOption
Source§impl<'de> Deserialize<'de> for ChoiceOption
impl<'de> Deserialize<'de> for ChoiceOption
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
Auto Trait Implementations§
impl Forget for ChoiceOption
impl Freeze for ChoiceOption
impl Move for ChoiceOption
impl RefUnwindSafe for ChoiceOption
impl Send for ChoiceOption
impl Sync for ChoiceOption
impl Unpin for ChoiceOption
impl UnsafeUnpin for ChoiceOption
impl UnwindSafe for ChoiceOption
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