Enum validator_types::ValueOrPath
source · [−]Variants
Value(T)
Path(String)
Trait Implementations
sourceimpl<T: Clone + Debug + Clone + PartialEq> Clone for ValueOrPath<T>
impl<T: Clone + Debug + Clone + PartialEq> Clone for ValueOrPath<T>
sourcefn clone(&self) -> ValueOrPath<T>
fn clone(&self) -> ValueOrPath<T>
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<T: PartialEq + Debug + Clone + PartialEq> PartialEq<ValueOrPath<T>> for ValueOrPath<T>
impl<T: PartialEq + Debug + Clone + PartialEq> PartialEq<ValueOrPath<T>> for ValueOrPath<T>
sourcefn eq(&self, other: &ValueOrPath<T>) -> bool
fn eq(&self, other: &ValueOrPath<T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ValueOrPath<T>) -> bool
fn ne(&self, other: &ValueOrPath<T>) -> bool
This method tests for !=
.
impl<T: Debug + Clone + PartialEq> StructuralPartialEq for ValueOrPath<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for ValueOrPath<T> where
T: RefUnwindSafe,
impl<T> Send for ValueOrPath<T> where
T: Send,
impl<T> Sync for ValueOrPath<T> where
T: Sync,
impl<T> Unpin for ValueOrPath<T> where
T: Unpin,
impl<T> UnwindSafe for ValueOrPath<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more