pub enum CheckboxValue {
Checked,
Unchecked,
}Expand description
Html input checkbox value.
Variants§
Implementations§
source§impl CheckboxValue
impl CheckboxValue
sourcepub fn is_checked(&self) -> bool
pub fn is_checked(&self) -> bool
Returns a bool indicating if checkbox is checked.
Trait Implementations§
source§impl Clone for CheckboxValue
impl Clone for CheckboxValue
source§fn clone(&self) -> CheckboxValue
fn clone(&self) -> CheckboxValue
Returns a copy 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 CheckboxValue
impl Debug for CheckboxValue
source§impl Default for CheckboxValue
impl Default for CheckboxValue
source§impl<'de> Deserialize<'de> for CheckboxValue
impl<'de> Deserialize<'de> for CheckboxValue
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<CheckboxValue> for CheckboxValue
impl PartialEq<CheckboxValue> for CheckboxValue
source§fn eq(&self, other: &CheckboxValue) -> bool
fn eq(&self, other: &CheckboxValue) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CheckboxValue
impl Serialize for CheckboxValue
impl Copy for CheckboxValue
impl Eq for CheckboxValue
impl StructuralEq for CheckboxValue
impl StructuralPartialEq for CheckboxValue
Auto Trait Implementations§
impl RefUnwindSafe for CheckboxValue
impl Send for CheckboxValue
impl Sync for CheckboxValue
impl Unpin for CheckboxValue
impl UnwindSafe for CheckboxValue
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