pub struct OptionValueBoolean {
pub value: bool,
}
Expand description
Boolean option
Fields§
§value: bool
The value of the option
Trait Implementations§
Source§impl Clone for OptionValueBoolean
impl Clone for OptionValueBoolean
Source§fn clone(&self) -> OptionValueBoolean
fn clone(&self) -> OptionValueBoolean
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 OptionValueBoolean
impl Debug for OptionValueBoolean
Source§impl<'de> Deserialize<'de> for OptionValueBoolean
impl<'de> Deserialize<'de> for OptionValueBoolean
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 Freeze for OptionValueBoolean
impl RefUnwindSafe for OptionValueBoolean
impl Send for OptionValueBoolean
impl Sync for OptionValueBoolean
impl Unpin for OptionValueBoolean
impl UnwindSafe for OptionValueBoolean
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