pub enum OptionEntry {
Field(OptionField),
Set(OptionSet),
}Expand description
Metadata of an option that can either be a OptionField or OptionSet.
Variants§
Trait Implementations§
Source§impl Clone for OptionEntry
impl Clone for OptionEntry
Source§fn clone(&self) -> OptionEntry
fn clone(&self) -> OptionEntry
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 OptionEntry
impl Debug for OptionEntry
Source§impl Display for OptionEntry
impl Display for OptionEntry
Source§impl PartialEq for OptionEntry
impl PartialEq for OptionEntry
Source§impl Serialize for OptionEntry
impl Serialize for OptionEntry
impl Eq for OptionEntry
impl StructuralPartialEq for OptionEntry
Auto Trait Implementations§
impl Freeze for OptionEntry
impl RefUnwindSafe for OptionEntry
impl Send for OptionEntry
impl Sync for OptionEntry
impl Unpin for OptionEntry
impl UnwindSafe for OptionEntry
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