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.
Implementations§
Source§impl CreateWallet
impl CreateWallet
Sourcepub fn into_model(self) -> CreateWallet
pub fn into_model(self) -> CreateWallet
Converts version specific type to a version in-specific, more strongly typed type.
Trait Implementations§
Source§impl Clone for CreateWallet
impl Clone for CreateWallet
Source§fn clone(&self) -> CreateWallet
fn clone(&self) -> CreateWallet
Returns a duplicate 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 PartialEq for CreateWallet
impl PartialEq for CreateWallet
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