pub struct ScheduledTimer {
pub timer_id: String,
pub delay: Duration,
}Fields§
§timer_id: String§delay: DurationTrait Implementations§
Source§impl Clone for ScheduledTimer
impl Clone for ScheduledTimer
Source§fn clone(&self) -> ScheduledTimer
fn clone(&self) -> ScheduledTimer
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 moreSource§impl Debug for ScheduledTimer
impl Debug for ScheduledTimer
impl Eq for ScheduledTimer
Source§impl PartialEq for ScheduledTimer
impl PartialEq for ScheduledTimer
Source§fn eq(&self, other: &ScheduledTimer) -> bool
fn eq(&self, other: &ScheduledTimer) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScheduledTimer
Auto Trait Implementations§
impl Freeze for ScheduledTimer
impl RefUnwindSafe for ScheduledTimer
impl Send for ScheduledTimer
impl Sync for ScheduledTimer
impl Unpin for ScheduledTimer
impl UnsafeUnpin for ScheduledTimer
impl UnwindSafe for ScheduledTimer
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