pub enum OptionStyle {
SkipNone,
ExpandNone,
}Variants§
Implementations§
Source§impl OptionStyle
impl OptionStyle
pub fn is_skip_none(&self) -> bool
Trait Implementations§
Source§impl Clone for OptionStyle
impl Clone for OptionStyle
Source§fn clone(&self) -> OptionStyle
fn clone(&self) -> OptionStyle
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 OptionStyle
impl Debug for OptionStyle
Source§impl Default for OptionStyle
impl Default for OptionStyle
Source§fn default() -> OptionStyle
fn default() -> OptionStyle
Returns the “default value” for a type. Read more
Source§impl PartialEq for OptionStyle
impl PartialEq for OptionStyle
impl Copy for OptionStyle
impl StructuralPartialEq for OptionStyle
Auto Trait Implementations§
impl Freeze for OptionStyle
impl RefUnwindSafe for OptionStyle
impl Send for OptionStyle
impl Sync for OptionStyle
impl Unpin for OptionStyle
impl UnwindSafe for OptionStyle
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