Struct bitcoind_json_rpc_types::v17::CreateWallet
source · pub struct CreateWallet {
pub name: String,
pub warning: String,
}Expand description
Result of the JSON-RPC method createwallet.
createwallet “wallet_name” ( disable_private_keys )
Creates and loads a new wallet.
Arguments:
- “wallet_name” (string, required) The name for the new wallet. If this is a path, the wallet will be created at the path location.
- disable_private_keys (boolean, optional, default: false) Disable the possibility of private keys (only watchonlys are possible in this mode).
Fields§
§name: StringThe wallet name if created successfully.
If the wallet was created using a full path, the wallet_name will be the full path.
warning: StringWarning messages, if any, related to creating and loading the wallet.
Trait Implementations§
source§impl Clone for CreateWallet
impl Clone for CreateWallet
source§fn clone(&self) -> CreateWallet
fn clone(&self) -> CreateWallet
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 CreateWallet
impl Debug for CreateWallet
source§impl<'de> Deserialize<'de> for CreateWallet
impl<'de> Deserialize<'de> for CreateWallet
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<CreateWallet> for CreateWallet
impl From<CreateWallet> for CreateWallet
source§fn from(json: CreateWallet) -> Self
fn from(json: CreateWallet) -> Self
Converts to this type from the input type.
source§impl PartialEq for CreateWallet
impl PartialEq for CreateWallet
source§fn eq(&self, other: &CreateWallet) -> bool
fn eq(&self, other: &CreateWallet) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CreateWallet
impl Serialize for CreateWallet
impl Eq for CreateWallet
impl StructuralPartialEq for CreateWallet
Auto Trait Implementations§
impl Freeze for CreateWallet
impl RefUnwindSafe for CreateWallet
impl Send for CreateWallet
impl Sync for CreateWallet
impl Unpin for CreateWallet
impl UnwindSafe for CreateWallet
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