Enum temporal_rs::fields::FieldConversion
source · pub enum FieldConversion {
ToIntegerWithTruncation,
ToPositiveIntegerWithTruncation,
ToPrimativeAndRequireString,
None,
}
Expand description
The Conversion type of a field.
Variants§
ToIntegerWithTruncation
Designates the Conversion type is ToIntegerWithTruncation
ToPositiveIntegerWithTruncation
Designates the Conversion type is ToPositiveIntegerWithTruncation
ToPrimativeAndRequireString
Designates the Conversion type is ToPrimitiveRequireString
None
Designates the Conversion type is nothing
Trait Implementations§
source§impl Clone for FieldConversion
impl Clone for FieldConversion
source§fn clone(&self) -> FieldConversion
fn clone(&self) -> FieldConversion
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 FieldConversion
impl Debug for FieldConversion
source§impl FromStr for FieldConversion
impl FromStr for FieldConversion
impl Copy for FieldConversion
Auto Trait Implementations§
impl RefUnwindSafe for FieldConversion
impl Send for FieldConversion
impl Sync for FieldConversion
impl Unpin for FieldConversion
impl UnwindSafe for FieldConversion
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