pub struct FormOption {
pub value: String,
pub label: String,
pub disabled: bool,
pub selected: bool,
pub group_label: Option<String>,
}Fields§
§value: String§label: String§disabled: bool§selected: bool§group_label: Option<String>Trait Implementations§
Source§impl Clone for FormOption
impl Clone for FormOption
Source§impl Debug for FormOption
impl Debug for FormOption
Source§impl<'de> Deserialize<'de> for FormOption
impl<'de> Deserialize<'de> for FormOption
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
impl Eq for FormOption
Source§impl PartialEq for FormOption
impl PartialEq for FormOption
Source§impl Serialize for FormOption
impl Serialize for FormOption
impl StructuralPartialEq for FormOption
Auto Trait Implementations§
impl Freeze for FormOption
impl RefUnwindSafe for FormOption
impl Send for FormOption
impl Sync for FormOption
impl Unpin for FormOption
impl UnsafeUnpin for FormOption
impl UnwindSafe for FormOption
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