pub struct DateTimeLiteral {
pub date: DateFragment,
pub time: TimeFragment,
}Fields§
§date: DateFragment§time: TimeFragmentTrait Implementations§
Source§impl Clone for DateTimeLiteral
impl Clone for DateTimeLiteral
Source§fn clone(&self) -> DateTimeLiteral
fn clone(&self) -> DateTimeLiteral
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DateTimeLiteral
impl Debug for DateTimeLiteral
Source§impl Display for DateTimeLiteral
impl Display for DateTimeLiteral
impl Eq for DateTimeLiteral
Source§impl PartialEq for DateTimeLiteral
impl PartialEq for DateTimeLiteral
Source§fn eq(&self, other: &DateTimeLiteral) -> bool
fn eq(&self, other: &DateTimeLiteral) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DateTimeLiteral
Auto Trait Implementations§
impl Freeze for DateTimeLiteral
impl RefUnwindSafe for DateTimeLiteral
impl Send for DateTimeLiteral
impl Sync for DateTimeLiteral
impl Unpin for DateTimeLiteral
impl UnsafeUnpin for DateTimeLiteral
impl UnwindSafe for DateTimeLiteral
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more