pub enum DefaultStatus {
RequiredWithoutDefault,
NotApplicable,
}Expand description
Verified default status of a setting.
Variants§
RequiredWithoutDefault
The caller must declare a value because no default is verified.
NotApplicable
Default behavior is irrelevant because the setting does not apply.
Trait Implementations§
Source§impl Clone for DefaultStatus
impl Clone for DefaultStatus
Source§fn clone(&self) -> DefaultStatus
fn clone(&self) -> DefaultStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DefaultStatus
Source§impl Debug for DefaultStatus
impl Debug for DefaultStatus
impl Eq for DefaultStatus
Source§impl Ord for DefaultStatus
impl Ord for DefaultStatus
Source§fn cmp(&self, other: &DefaultStatus) -> Ordering
fn cmp(&self, other: &DefaultStatus) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DefaultStatus
impl PartialEq for DefaultStatus
Source§impl PartialOrd for DefaultStatus
impl PartialOrd for DefaultStatus
impl StructuralPartialEq for DefaultStatus
Auto Trait Implementations§
impl Freeze for DefaultStatus
impl RefUnwindSafe for DefaultStatus
impl Send for DefaultStatus
impl Sync for DefaultStatus
impl Unpin for DefaultStatus
impl UnsafeUnpin for DefaultStatus
impl UnwindSafe for DefaultStatus
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