pub struct WalletUnwatchResult {
pub removed: u32,
pub watched: u32,
}Expand description
control.wallet.unwatch — the outcome of deregistering public keys.
removed counts the submitted keys that were actually enrolled; a key that was
never enrolled is not an error, for the same reason a re-enrolment is not one — a client
reconciling its own state must be able to say “make sure these are gone” without first asking.
Fields§
§removed: u32How many of the submitted keys were enrolled and are no longer.
watched: u32How many keys the node follows in total after this call.
Trait Implementations§
Source§impl Clone for WalletUnwatchResult
impl Clone for WalletUnwatchResult
Source§fn clone(&self) -> WalletUnwatchResult
fn clone(&self) -> WalletUnwatchResult
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 moreimpl Copy for WalletUnwatchResult
Source§impl Debug for WalletUnwatchResult
impl Debug for WalletUnwatchResult
Source§impl<'de> Deserialize<'de> for WalletUnwatchResult
impl<'de> Deserialize<'de> for WalletUnwatchResult
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 WalletUnwatchResult
Source§impl PartialEq for WalletUnwatchResult
impl PartialEq for WalletUnwatchResult
Source§impl Serialize for WalletUnwatchResult
impl Serialize for WalletUnwatchResult
impl StructuralPartialEq for WalletUnwatchResult
Auto Trait Implementations§
impl Freeze for WalletUnwatchResult
impl RefUnwindSafe for WalletUnwatchResult
impl Send for WalletUnwatchResult
impl Sync for WalletUnwatchResult
impl Unpin for WalletUnwatchResult
impl UnsafeUnpin for WalletUnwatchResult
impl UnwindSafe for WalletUnwatchResult
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