pub struct WalletReservationsReleaseResult {
pub released: bool,
pub coin_ids: Vec<String>,
}Expand description
control.wallet.reservations.release — what a release actually freed.
§released: false is a SUCCESS
It means the handle named no live reservation: it lapsed on its TTL first, or was released already. Both are the outcome the caller wanted, and reporting them as errors would push callers toward ignoring the result — which is how the release path quietly stops being used and every hold starts costing its full TTL.
Fields§
§released: boolWhether a live reservation was found and freed by THIS call.
coin_ids: Vec<String>The coins freed by this call — empty when released is false.
Trait Implementations§
Source§impl Clone for WalletReservationsReleaseResult
impl Clone for WalletReservationsReleaseResult
Source§fn clone(&self) -> WalletReservationsReleaseResult
fn clone(&self) -> WalletReservationsReleaseResult
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<'de> Deserialize<'de> for WalletReservationsReleaseResult
impl<'de> Deserialize<'de> for WalletReservationsReleaseResult
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 WalletReservationsReleaseResult
impl StructuralPartialEq for WalletReservationsReleaseResult
Auto Trait Implementations§
impl Freeze for WalletReservationsReleaseResult
impl RefUnwindSafe for WalletReservationsReleaseResult
impl Send for WalletReservationsReleaseResult
impl Sync for WalletReservationsReleaseResult
impl Unpin for WalletReservationsReleaseResult
impl UnsafeUnpin for WalletReservationsReleaseResult
impl UnwindSafe for WalletReservationsReleaseResult
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