Struct kittycad_modeling_cmds::datetime::DateTimeLocal
source · pub struct DateTimeLocal { /* private fields */ }Expand description
A wrapper for chrono types, since we need to impl Value for them.
Trait Implementations§
source§impl Clone for DateTimeLocal
impl Clone for DateTimeLocal
source§fn clone(&self) -> DateTimeLocal
fn clone(&self) -> DateTimeLocal
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 DateTimeLocal
impl Debug for DateTimeLocal
source§impl Default for DateTimeLocal
impl Default for DateTimeLocal
source§fn default() -> DateTimeLocal
fn default() -> DateTimeLocal
Returns the “default value” for a type. Read more
source§impl From<DateTimeLocal> for DateTime<Local>
impl From<DateTimeLocal> for DateTime<Local>
source§fn from(value: DateTimeLocal) -> Self
fn from(value: DateTimeLocal) -> Self
Converts to this type from the input type.
source§impl Hash for DateTimeLocal
impl Hash for DateTimeLocal
source§impl PartialEq for DateTimeLocal
impl PartialEq for DateTimeLocal
source§fn eq(&self, other: &DateTimeLocal) -> bool
fn eq(&self, other: &DateTimeLocal) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Value for DateTimeLocal
impl Value for DateTimeLocal
source§fn from_parts<I>(values: &mut I) -> Result<(Self, usize), MemoryError>
fn from_parts<I>(values: &mut I) -> Result<(Self, usize), MemoryError>
Read the value from memory.
source§fn into_parts(self) -> Vec<Primitive>
fn into_parts(self) -> Vec<Primitive>
Store the value in memory.
impl Copy for DateTimeLocal
impl Eq for DateTimeLocal
impl StructuralPartialEq for DateTimeLocal
Auto Trait Implementations§
impl Freeze for DateTimeLocal
impl RefUnwindSafe for DateTimeLocal
impl Send for DateTimeLocal
impl Sync for DateTimeLocal
impl Unpin for DateTimeLocal
impl UnwindSafe for DateTimeLocal
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self to an expression for Diesel’s query builder. Read more