pub enum NowableTime {
Now,
Timestamp(MwTimestamp),
}
Variants§
Now
Timestamp(MwTimestamp)
Trait Implementations§
Source§impl Clone for NowableTime
impl Clone for NowableTime
Source§fn clone(&self) -> NowableTime
fn clone(&self) -> NowableTime
Returns a duplicate 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 NowableTime
impl Debug for NowableTime
Source§impl PartialEq for NowableTime
impl PartialEq for NowableTime
Source§impl Serialize for NowableTime
impl Serialize for NowableTime
Source§impl WriteUrlValue for NowableTime
impl WriteUrlValue for NowableTime
fn ser<W: UrlParamWriter>(&self, w: BufferedName<'_, W>) -> Result<(), W::E>
Source§fn ser_additional_only<W: UrlParamWriter>(&self, _w: &mut W) -> Result<(), W::E>
fn ser_additional_only<W: UrlParamWriter>(&self, _w: &mut W) -> Result<(), W::E>
only write the extra values, excluding names.
impl Copy for NowableTime
impl Eq for NowableTime
impl StructuralPartialEq for NowableTime
Auto Trait Implementations§
impl Freeze for NowableTime
impl RefUnwindSafe for NowableTime
impl Send for NowableTime
impl Sync for NowableTime
impl Unpin for NowableTime
impl UnwindSafe for NowableTime
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<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.