Enum sea_orm_cli::cli::DateTimeCrate
source · pub enum DateTimeCrate {
Chrono,
Time,
}
Variants§
Trait Implementations§
source§impl Clone for DateTimeCrate
impl Clone for DateTimeCrate
source§fn clone(&self) -> DateTimeCrate
fn clone(&self) -> DateTimeCrate
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 DateTimeCrate
impl Debug for DateTimeCrate
source§impl From<DateTimeCrate> for CodegenDateTimeCrate
impl From<DateTimeCrate> for CodegenDateTimeCrate
source§fn from(date_time_crate: DateTimeCrate) -> CodegenDateTimeCrate
fn from(date_time_crate: DateTimeCrate) -> CodegenDateTimeCrate
Converts to this type from the input type.
source§impl PartialEq<DateTimeCrate> for DateTimeCrate
impl PartialEq<DateTimeCrate> for DateTimeCrate
source§fn eq(&self, other: &DateTimeCrate) -> bool
fn eq(&self, other: &DateTimeCrate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ValueEnum for DateTimeCrate
impl ValueEnum for DateTimeCrate
source§fn value_variants<'a>() -> &'a [Self] ⓘ
fn value_variants<'a>() -> &'a [Self] ⓘ
All possible argument values, in display order.
source§fn to_possible_value<'a>(&self) -> Option<PossibleValue<'a>>
fn to_possible_value<'a>(&self) -> Option<PossibleValue<'a>>
The canonical argument value. Read more
impl Copy for DateTimeCrate
impl Eq for DateTimeCrate
impl StructuralEq for DateTimeCrate
impl StructuralPartialEq for DateTimeCrate
Auto Trait Implementations§
impl RefUnwindSafe for DateTimeCrate
impl Send for DateTimeCrate
impl Sync for DateTimeCrate
impl Unpin for DateTimeCrate
impl UnwindSafe for DateTimeCrate
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.