pub struct AdvanceTestClock {
pub frozen_time: Timestamp,
}
Fields§
§frozen_time: Timestamp
The time to advance the test clock. Must be after the test clock’s current frozen time. Cannot be more than two intervals in the future from the shortest subscription in this test clock. If there are no subscriptions in this test clock, it cannot be more than two years in the future.
Trait Implementations§
Source§impl Clone for AdvanceTestClock
impl Clone for AdvanceTestClock
Source§fn clone(&self) -> AdvanceTestClock
fn clone(&self) -> AdvanceTestClock
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 Debug for AdvanceTestClock
impl Debug for AdvanceTestClock
Source§impl Default for AdvanceTestClock
impl Default for AdvanceTestClock
Source§fn default() -> AdvanceTestClock
fn default() -> AdvanceTestClock
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AdvanceTestClock
impl RefUnwindSafe for AdvanceTestClock
impl Send for AdvanceTestClock
impl Sync for AdvanceTestClock
impl Unpin for AdvanceTestClock
impl UnwindSafe for AdvanceTestClock
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