pub struct UpdateResult<D: TimeDuration> {
pub event: Option<Event<D>>,
pub next_service: ServiceTiming<D>,
}Expand description
The result of a single update() call.
Fields§
§event: Option<Event<D>>The event produced by this update, if any.
next_service: ServiceTiming<D>When to call update() again. See ServiceTiming.
Trait Implementations§
Source§impl<D: Clone + TimeDuration> Clone for UpdateResult<D>
impl<D: Clone + TimeDuration> Clone for UpdateResult<D>
Source§fn clone(&self) -> UpdateResult<D>
fn clone(&self) -> UpdateResult<D>
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<D: Debug + TimeDuration> Debug for UpdateResult<D>
impl<D: Debug + TimeDuration> Debug for UpdateResult<D>
impl<D: Copy + TimeDuration> Copy for UpdateResult<D>
Auto Trait Implementations§
impl<D> Freeze for UpdateResult<D>where
D: Freeze,
impl<D> RefUnwindSafe for UpdateResult<D>where
D: RefUnwindSafe,
impl<D> Send for UpdateResult<D>where
D: Send,
impl<D> Sync for UpdateResult<D>where
D: Sync,
impl<D> Unpin for UpdateResult<D>where
D: Unpin,
impl<D> UnsafeUnpin for UpdateResult<D>where
D: UnsafeUnpin,
impl<D> UnwindSafe for UpdateResult<D>where
D: UnwindSafe,
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