Struct bitcoind_json_rpc_types::v24::UnloadWallet
source · pub struct UnloadWallet {
pub warning: String,
}Expand description
Result of the JSON-RPC method unloadwallet.
unloadwallet ( “wallet_name” load_on_startup )
Unloads the wallet referenced by the request endpoint, otherwise unloads the wallet specified in the argument. Specifying the wallet name on a wallet endpoint is invalid.
Arguments:
- wallet_name (string, optional, default=the wallet name from the RPC endpoint) The name of the wallet to unload. If provided both here and in the RPC endpoint, the two must be identical.
- load_on_startup (boolean, optional) Save wallet name to persistent settings and load on startup. True to add wallet to startup list, false to remove, null to leave unchanged.
Fields§
§warning: StringWarning messages, if any, related to unloading the wallet.
Trait Implementations§
source§impl Clone for UnloadWallet
impl Clone for UnloadWallet
source§fn clone(&self) -> UnloadWallet
fn clone(&self) -> UnloadWallet
Returns a copy 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 UnloadWallet
impl Debug for UnloadWallet
source§impl<'de> Deserialize<'de> for UnloadWallet
impl<'de> Deserialize<'de> for UnloadWallet
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
source§impl From<UnloadWallet> for UnloadWallet
impl From<UnloadWallet> for UnloadWallet
source§fn from(json: UnloadWallet) -> Self
fn from(json: UnloadWallet) -> Self
Converts to this type from the input type.
source§impl PartialEq for UnloadWallet
impl PartialEq for UnloadWallet
source§fn eq(&self, other: &UnloadWallet) -> bool
fn eq(&self, other: &UnloadWallet) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for UnloadWallet
impl Serialize for UnloadWallet
impl Eq for UnloadWallet
impl StructuralPartialEq for UnloadWallet
Auto Trait Implementations§
impl Freeze for UnloadWallet
impl RefUnwindSafe for UnloadWallet
impl Send for UnloadWallet
impl Sync for UnloadWallet
impl Unpin for UnloadWallet
impl UnwindSafe for UnloadWallet
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