pub struct NewWalletSecret {
pub name: String,
pub secret_type: Box<SecretType>,
pub p_chain_address: Option<String>,
pub private_key: Option<String>,
pub private_key_format: Option<PrivateKeyFormat>,
}
Fields§
§name: String
Secret name
secret_type: Box<SecretType>
§p_chain_address: Option<String>
P Chain address of the wallet
private_key: Option<String>
Private key of the wallet
private_key_format: Option<PrivateKeyFormat>
Format of the wallet private key
Implementations§
Source§impl NewWalletSecret
impl NewWalletSecret
pub fn new(name: String, secret_type: SecretType) -> NewWalletSecret
Trait Implementations§
Source§impl Clone for NewWalletSecret
impl Clone for NewWalletSecret
Source§fn clone(&self) -> NewWalletSecret
fn clone(&self) -> NewWalletSecret
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 NewWalletSecret
impl Debug for NewWalletSecret
Source§impl<'de> Deserialize<'de> for NewWalletSecret
impl<'de> Deserialize<'de> for NewWalletSecret
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 NewWalletSecret
impl PartialEq for NewWalletSecret
Source§impl Serialize for NewWalletSecret
impl Serialize for NewWalletSecret
impl StructuralPartialEq for NewWalletSecret
Auto Trait Implementations§
impl Freeze for NewWalletSecret
impl RefUnwindSafe for NewWalletSecret
impl Send for NewWalletSecret
impl Sync for NewWalletSecret
impl Unpin for NewWalletSecret
impl UnwindSafe for NewWalletSecret
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