pub struct PlanningTime {
pub hour: u8,
pub minute: u8,
}Fields§
§hour: u8§minute: u8Implementations§
Trait Implementations§
Source§impl Clone for PlanningTime
impl Clone for PlanningTime
Source§fn clone(&self) -> PlanningTime
fn clone(&self) -> PlanningTime
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 moreimpl Copy for PlanningTime
Source§impl Debug for PlanningTime
impl Debug for PlanningTime
Source§impl<'de> Deserialize<'de> for PlanningTime
impl<'de> Deserialize<'de> for PlanningTime
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 Display for PlanningTime
impl Display for PlanningTime
impl Eq for PlanningTime
Source§impl FromStr for PlanningTime
impl FromStr for PlanningTime
Source§impl Hash for PlanningTime
impl Hash for PlanningTime
Source§impl Ord for PlanningTime
impl Ord for PlanningTime
Source§fn cmp(&self, other: &PlanningTime) -> Ordering
fn cmp(&self, other: &PlanningTime) -> Ordering
1.21.0 (const: unstable) · 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 PlanningTime
impl PartialEq for PlanningTime
Source§impl PartialOrd for PlanningTime
impl PartialOrd for PlanningTime
Source§impl Serialize for PlanningTime
impl Serialize for PlanningTime
impl StructuralPartialEq for PlanningTime
Auto Trait Implementations§
impl Freeze for PlanningTime
impl RefUnwindSafe for PlanningTime
impl Send for PlanningTime
impl Sync for PlanningTime
impl Unpin for PlanningTime
impl UnsafeUnpin for PlanningTime
impl UnwindSafe for PlanningTime
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.