pub struct ScheduleInstant {
pub secs: i64,
}Expand description
Opaque instant for schedule calculations (unix epoch seconds).
Fields§
§secs: i64Seconds since the Unix epoch.
Trait Implementations§
Source§impl Clone for ScheduleInstant
impl Clone for ScheduleInstant
Source§fn clone(&self) -> ScheduleInstant
fn clone(&self) -> ScheduleInstant
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 ScheduleInstant
Source§impl Debug for ScheduleInstant
impl Debug for ScheduleInstant
Source§impl<'de> Deserialize<'de> for ScheduleInstant
impl<'de> Deserialize<'de> for ScheduleInstant
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
impl Eq for ScheduleInstant
Source§impl PartialEq for ScheduleInstant
impl PartialEq for ScheduleInstant
Source§impl Serialize for ScheduleInstant
impl Serialize for ScheduleInstant
impl StructuralPartialEq for ScheduleInstant
Auto Trait Implementations§
impl Freeze for ScheduleInstant
impl RefUnwindSafe for ScheduleInstant
impl Send for ScheduleInstant
impl Sync for ScheduleInstant
impl Unpin for ScheduleInstant
impl UnsafeUnpin for ScheduleInstant
impl UnwindSafe for ScheduleInstant
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