Struct ash_api::models::wallet_secret_base::WalletSecretBase
source · pub struct WalletSecretBase {
pub p_chain_address: Option<String>,
pub private_key: Option<String>,
pub private_key_format: Option<PrivateKeyFormat>,
pub secret_type: Option<Box<SecretType>>,
}
Fields§
§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
secret_type: Option<Box<SecretType>>
Implementations§
source§impl WalletSecretBase
impl WalletSecretBase
pub fn new() -> WalletSecretBase
Trait Implementations§
source§impl Clone for WalletSecretBase
impl Clone for WalletSecretBase
source§fn clone(&self) -> WalletSecretBase
fn clone(&self) -> WalletSecretBase
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 WalletSecretBase
impl Debug for WalletSecretBase
source§impl<'de> Deserialize<'de> for WalletSecretBase
impl<'de> Deserialize<'de> for WalletSecretBase
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 WalletSecretBase
impl PartialEq for WalletSecretBase
source§fn eq(&self, other: &WalletSecretBase) -> bool
fn eq(&self, other: &WalletSecretBase) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WalletSecretBase
impl Serialize for WalletSecretBase
impl StructuralPartialEq for WalletSecretBase
Auto Trait Implementations§
impl RefUnwindSafe for WalletSecretBase
impl Send for WalletSecretBase
impl Sync for WalletSecretBase
impl Unpin for WalletSecretBase
impl UnwindSafe for WalletSecretBase
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