pub struct WalletReservationsHeldParams {}Expand description
control.wallet.reservations.held params — none.
§Why the caller does not supply the time
dig-account’s CoinReservationStore::held(now_unix) takes the current time from its caller,
because in-process both sides share one clock and one trust domain. Across the control boundary
they share neither, and a caller-supplied now would be a lapse oracle: a far-future value makes
every live reservation read as expired, and the caller then selects coins another process is
about to spend. The node reads its OWN clock and reports it back as
as_of_unix, so a client can SEE skew
rather than impose it.
Trait Implementations§
Source§impl Clone for WalletReservationsHeldParams
impl Clone for WalletReservationsHeldParams
Source§fn clone(&self) -> WalletReservationsHeldParams
fn clone(&self) -> WalletReservationsHeldParams
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 ControlCall for WalletReservationsHeldParams
impl ControlCall for WalletReservationsHeldParams
Source§const METHOD: ControlMethod = ControlMethod::WalletReservationsHeld
const METHOD: ControlMethod = ControlMethod::WalletReservationsHeld
The wire method this call invokes.
Source§type Output = WalletReservationsHeldResult
type Output = WalletReservationsHeldResult
The typed result this call returns on success.
impl Copy for WalletReservationsHeldParams
Source§impl Debug for WalletReservationsHeldParams
impl Debug for WalletReservationsHeldParams
Source§impl Default for WalletReservationsHeldParams
impl Default for WalletReservationsHeldParams
Source§fn default() -> WalletReservationsHeldParams
fn default() -> WalletReservationsHeldParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WalletReservationsHeldParams
impl<'de> Deserialize<'de> for WalletReservationsHeldParams
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 WalletReservationsHeldParams
impl StructuralPartialEq for WalletReservationsHeldParams
Auto Trait Implementations§
impl Freeze for WalletReservationsHeldParams
impl RefUnwindSafe for WalletReservationsHeldParams
impl Send for WalletReservationsHeldParams
impl Sync for WalletReservationsHeldParams
impl Unpin for WalletReservationsHeldParams
impl UnsafeUnpin for WalletReservationsHeldParams
impl UnwindSafe for WalletReservationsHeldParams
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