pub enum CoercionTargetType {
Integer,
Float,
Boolean,
Currency,
Percentage,
Email,
PhoneNumber,
Date,
Url,
}
Expand description
Types that can be coerced to
Variants§
Trait Implementations§
Source§impl Clone for CoercionTargetType
impl Clone for CoercionTargetType
Source§fn clone(&self) -> CoercionTargetType
fn clone(&self) -> CoercionTargetType
Returns a duplicate 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 CoercionTargetType
impl Debug for CoercionTargetType
Source§impl PartialEq for CoercionTargetType
impl PartialEq for CoercionTargetType
impl StructuralPartialEq for CoercionTargetType
Auto Trait Implementations§
impl Freeze for CoercionTargetType
impl RefUnwindSafe for CoercionTargetType
impl Send for CoercionTargetType
impl Sync for CoercionTargetType
impl Unpin for CoercionTargetType
impl UnwindSafe for CoercionTargetType
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