pub enum SettingDefaultV2 {
RequiredExplicit,
Verified(SettingValueV2),
}Expand description
Declaration/default policy for one revision-2 setting.
Variants§
RequiredExplicit
The caller must declare a value; no default is claimed.
Verified(SettingValueV2)
The exact profile has a version-pinned verified default.
Trait Implementations§
Source§impl Clone for SettingDefaultV2
impl Clone for SettingDefaultV2
Source§fn clone(&self) -> SettingDefaultV2
fn clone(&self) -> SettingDefaultV2
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 moreSource§impl Debug for SettingDefaultV2
impl Debug for SettingDefaultV2
impl Eq for SettingDefaultV2
Source§impl Ord for SettingDefaultV2
impl Ord for SettingDefaultV2
Source§fn cmp(&self, other: &SettingDefaultV2) -> Ordering
fn cmp(&self, other: &SettingDefaultV2) -> 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 SettingDefaultV2
impl PartialEq for SettingDefaultV2
Source§impl PartialOrd for SettingDefaultV2
impl PartialOrd for SettingDefaultV2
impl StructuralPartialEq for SettingDefaultV2
Auto Trait Implementations§
impl Freeze for SettingDefaultV2
impl RefUnwindSafe for SettingDefaultV2
impl Send for SettingDefaultV2
impl Sync for SettingDefaultV2
impl Unpin for SettingDefaultV2
impl UnsafeUnpin for SettingDefaultV2
impl UnwindSafe for SettingDefaultV2
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