Struct ofdb_entities::time::GenericTimestamp [−][src]
Implementations
impl<C: InnerTimestampConverter> GenericTimestamp<C>[src]
pub fn now() -> Self[src]
pub fn from_inner(from: C::Inner) -> Self[src]
pub fn into_inner(self) -> C::Inner[src]
pub fn from_seconds(seconds: i64) -> Self[src]
pub fn from_milliseconds(milliseconds: i64) -> Self[src]
pub fn into_seconds(self) -> i64[src]
pub fn into_milliseconds(self) -> i64[src]
Trait Implementations
impl<C: Clone + InnerTimestampConverter> Clone for GenericTimestamp<C> where
C::Inner: Clone, [src]
C::Inner: Clone,
fn clone(&self) -> GenericTimestamp<C>[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<C: Copy + InnerTimestampConverter> Copy for GenericTimestamp<C> where
C::Inner: Copy, [src]
C::Inner: Copy,
impl<C: Debug + InnerTimestampConverter> Debug for GenericTimestamp<C> where
C::Inner: Debug, [src]
C::Inner: Debug,
impl<C: InnerTimestampConverter> Display for GenericTimestamp<C>[src]
impl<C: Eq + InnerTimestampConverter> Eq for GenericTimestamp<C> where
C::Inner: Eq, [src]
C::Inner: Eq,
impl<C: InnerTimestampConverter> From<DateTime<Utc>> for GenericTimestamp<C>[src]
impl<C: InnerTimestampConverter> From<NaiveDateTime> for GenericTimestamp<C>[src]
fn from(from: NaiveDateTime) -> Self[src]
impl<C: Ord + InnerTimestampConverter> Ord for GenericTimestamp<C> where
C::Inner: Ord, [src]
C::Inner: Ord,
fn cmp(&self, other: &GenericTimestamp<C>) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self1.50.0[src]
impl<C: PartialEq + InnerTimestampConverter> PartialEq<GenericTimestamp<C>> for GenericTimestamp<C> where
C::Inner: PartialEq, [src]
C::Inner: PartialEq,
fn eq(&self, other: &GenericTimestamp<C>) -> bool[src]
fn ne(&self, other: &GenericTimestamp<C>) -> bool[src]
impl<C: PartialOrd + InnerTimestampConverter> PartialOrd<GenericTimestamp<C>> for GenericTimestamp<C> where
C::Inner: PartialOrd, [src]
C::Inner: PartialOrd,
fn partial_cmp(&self, other: &GenericTimestamp<C>) -> Option<Ordering>[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl<C: InnerTimestampConverter> StructuralEq for GenericTimestamp<C>[src]
impl<C: InnerTimestampConverter> StructuralPartialEq for GenericTimestamp<C>[src]
Auto Trait Implementations
impl<C> RefUnwindSafe for GenericTimestamp<C> where
<C as InnerTimestampConverter>::Inner: RefUnwindSafe,
<C as InnerTimestampConverter>::Inner: RefUnwindSafe,
impl<C> Send for GenericTimestamp<C> where
<C as InnerTimestampConverter>::Inner: Send,
<C as InnerTimestampConverter>::Inner: Send,
impl<C> Sync for GenericTimestamp<C> where
<C as InnerTimestampConverter>::Inner: Sync,
<C as InnerTimestampConverter>::Inner: Sync,
impl<C> Unpin for GenericTimestamp<C> where
<C as InnerTimestampConverter>::Inner: Unpin,
<C as InnerTimestampConverter>::Inner: Unpin,
impl<C> UnwindSafe for GenericTimestamp<C> where
<C as InnerTimestampConverter>::Inner: UnwindSafe,
<C as InnerTimestampConverter>::Inner: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,