Struct flydra_types::FlydraFloatTimestampLocal
source · pub struct FlydraFloatTimestampLocal<S> { /* private fields */ }
Expand description
A type that represents a timestamp but is serialized to an f64.
Implementations§
Trait Implementations§
source§impl<S: Clone> Clone for FlydraFloatTimestampLocal<S>
impl<S: Clone> Clone for FlydraFloatTimestampLocal<S>
source§fn clone(&self) -> FlydraFloatTimestampLocal<S>
fn clone(&self) -> FlydraFloatTimestampLocal<S>
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<S> Debug for FlydraFloatTimestampLocal<S>
impl<S> Debug for FlydraFloatTimestampLocal<S>
source§impl<S, TZ: TimeZone> From<DateTime<TZ>> for FlydraFloatTimestampLocal<S>
impl<S, TZ: TimeZone> From<DateTime<TZ>> for FlydraFloatTimestampLocal<S>
source§fn from(val: DateTime<TZ>) -> FlydraFloatTimestampLocal<S>
fn from(val: DateTime<TZ>) -> FlydraFloatTimestampLocal<S>
Converts to this type from the input type.
source§impl<S: PartialEq> PartialEq for FlydraFloatTimestampLocal<S>
impl<S: PartialEq> PartialEq for FlydraFloatTimestampLocal<S>
source§fn eq(&self, other: &FlydraFloatTimestampLocal<S>) -> bool
fn eq(&self, other: &FlydraFloatTimestampLocal<S>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<S: Eq> Eq for FlydraFloatTimestampLocal<S>
impl<S> StructuralPartialEq for FlydraFloatTimestampLocal<S>
Auto Trait Implementations§
impl<S> Freeze for FlydraFloatTimestampLocal<S>
impl<S> RefUnwindSafe for FlydraFloatTimestampLocal<S>where
S: RefUnwindSafe,
impl<S> Send for FlydraFloatTimestampLocal<S>where
S: Send,
impl<S> Sync for FlydraFloatTimestampLocal<S>where
S: Sync,
impl<S> Unpin for FlydraFloatTimestampLocal<S>where
S: Unpin,
impl<S> UnwindSafe for FlydraFloatTimestampLocal<S>where
S: UnwindSafe,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.