pub enum ValidNameFullNamePolicy {
Required,
Preferred,
Optional,
}
Expand description
Configuration value for ValidName
policy for use of full names in identities.
Variants§
Required
A full name is required, error when missing.
Preferred
A full name is preferred, warning when missing.
Optional
A full name is optional, no diagnostic when missing.
Trait Implementations§
Source§impl Clone for ValidNameFullNamePolicy
impl Clone for ValidNameFullNamePolicy
Source§fn clone(&self) -> ValidNameFullNamePolicy
fn clone(&self) -> ValidNameFullNamePolicy
Returns a copy 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 ValidNameFullNamePolicy
impl Debug for ValidNameFullNamePolicy
Source§impl Default for ValidNameFullNamePolicy
impl Default for ValidNameFullNamePolicy
Source§fn default() -> ValidNameFullNamePolicy
fn default() -> ValidNameFullNamePolicy
Returns the “default value” for a type. Read more
Source§impl PartialEq for ValidNameFullNamePolicy
impl PartialEq for ValidNameFullNamePolicy
impl Copy for ValidNameFullNamePolicy
impl Eq for ValidNameFullNamePolicy
impl StructuralPartialEq for ValidNameFullNamePolicy
Auto Trait Implementations§
impl Freeze for ValidNameFullNamePolicy
impl RefUnwindSafe for ValidNameFullNamePolicy
impl Send for ValidNameFullNamePolicy
impl Sync for ValidNameFullNamePolicy
impl Unpin for ValidNameFullNamePolicy
impl UnwindSafe for ValidNameFullNamePolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more