pub struct SetmocktimeParams {
pub timestamp: i64,
}Expand description
Set the local time to given timestamp (-regtest only)
Fields§
§timestamp: i64UNIX epoch time Pass 0 to go back to using the system time.
Trait Implementations§
Source§impl Debug for SetmocktimeParams
impl Debug for SetmocktimeParams
Auto Trait Implementations§
impl Freeze for SetmocktimeParams
impl RefUnwindSafe for SetmocktimeParams
impl Send for SetmocktimeParams
impl Sync for SetmocktimeParams
impl Unpin for SetmocktimeParams
impl UnwindSafe for SetmocktimeParams
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