pub struct MinutesSinceEpoch(pub i32);
Expand description
Storage type for storing (Date<Iso>, Time)
.
Tuple Fields§
§0: i32
Trait Implementations§
Source§impl AsULE for MinutesSinceEpoch
impl AsULE for MinutesSinceEpoch
Source§impl Clone for MinutesSinceEpoch
impl Clone for MinutesSinceEpoch
Source§fn clone(&self) -> MinutesSinceEpoch
fn clone(&self) -> MinutesSinceEpoch
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 MinutesSinceEpoch
impl Debug for MinutesSinceEpoch
Source§impl<'de> Deserialize<'de> for MinutesSinceEpoch
impl<'de> Deserialize<'de> for MinutesSinceEpoch
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<(Date<Iso>, Time)> for MinutesSinceEpoch
impl From<(Date<Iso>, Time)> for MinutesSinceEpoch
Source§fn from((d, t): (Date<Iso>, Time)) -> MinutesSinceEpoch
fn from((d, t): (Date<Iso>, Time)) -> MinutesSinceEpoch
Converts to this type from the input type.
Source§impl Ord for MinutesSinceEpoch
impl Ord for MinutesSinceEpoch
Source§fn cmp(&self, other: &MinutesSinceEpoch) -> Ordering
fn cmp(&self, other: &MinutesSinceEpoch) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MinutesSinceEpoch
impl PartialEq for MinutesSinceEpoch
Source§impl PartialOrd for MinutesSinceEpoch
impl PartialOrd for MinutesSinceEpoch
Source§impl Serialize for MinutesSinceEpoch
impl Serialize for MinutesSinceEpoch
Source§impl<'a> ZeroMapKV<'a> for MinutesSinceEpoch
impl<'a> ZeroMapKV<'a> for MinutesSinceEpoch
Source§type Container = ZeroVec<'a, MinutesSinceEpoch>
type Container = ZeroVec<'a, MinutesSinceEpoch>
The container that can be used with this type: [
ZeroVec
] or [VarZeroVec
].type Slice = ZeroSlice<MinutesSinceEpoch>
Source§type GetType = <MinutesSinceEpoch as AsULE>::ULE
type GetType = <MinutesSinceEpoch as AsULE>::ULE
The type produced by
Container::get()
Read moreSource§type OwnedType = MinutesSinceEpoch
type OwnedType = MinutesSinceEpoch
The type produced by
Container::replace()
and Container::remove()
,
also used during deserialization. If Self
is human readable serialized,
deserializing to Self::OwnedType
should produce the same value once
passed through Self::owned_as_self()
Read moreimpl Copy for MinutesSinceEpoch
impl Eq for MinutesSinceEpoch
impl StructuralPartialEq for MinutesSinceEpoch
Auto Trait Implementations§
impl Freeze for MinutesSinceEpoch
impl RefUnwindSafe for MinutesSinceEpoch
impl Send for MinutesSinceEpoch
impl Sync for MinutesSinceEpoch
impl Unpin for MinutesSinceEpoch
impl UnwindSafe for MinutesSinceEpoch
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