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
sourceimpl Clone for ValidNameFullNamePolicy
impl Clone for ValidNameFullNamePolicy
sourcefn clone(&self) -> ValidNameFullNamePolicy
fn clone(&self) -> ValidNameFullNamePolicy
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ValidNameFullNamePolicy
impl Debug for ValidNameFullNamePolicy
sourceimpl Default for ValidNameFullNamePolicy
impl Default for ValidNameFullNamePolicy
impl Copy for ValidNameFullNamePolicy
impl Eq for ValidNameFullNamePolicy
impl StructuralEq for ValidNameFullNamePolicy
impl StructuralPartialEq for ValidNameFullNamePolicy
Auto Trait Implementations
impl RefUnwindSafe for ValidNameFullNamePolicy
impl Send for ValidNameFullNamePolicy
impl Sync for ValidNameFullNamePolicy
impl Unpin for ValidNameFullNamePolicy
impl UnwindSafe for ValidNameFullNamePolicy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more