pub struct Wallet {Show 14 fields
pub id: String,
pub address: String,
pub blockchain: Blockchain,
pub create_date: String,
pub update_date: String,
pub custody_type: CustodyType,
pub name: Option<String>,
pub ref_id: Option<String>,
pub state: WalletState,
pub user_id: Option<String>,
pub wallet_set_id: String,
pub initial_public_key: Option<String>,
pub account_type: Option<AccountType>,
pub sca_core: Option<ScaCore>,
}Expand description
A user-controlled wallet.
Fields§
§id: StringCircle-assigned wallet ID.
address: StringOn-chain address for this wallet.
blockchain: BlockchainBlockchain this wallet is deployed on.
create_date: StringISO 8601 creation timestamp.
update_date: StringISO 8601 last-updated timestamp.
custody_type: CustodyTypeCustody model (always Enduser for this API).
name: Option<String>Optional display name.
ref_id: Option<String>Application-defined reference identifier.
state: WalletStateCurrent wallet state.
user_id: Option<String>ID of the end-user who owns this wallet.
wallet_set_id: StringID of the wallet set this wallet belongs to.
initial_public_key: Option<String>Initial public key at wallet creation.
account_type: Option<AccountType>Account type (EOA or SCA).
sca_core: Option<ScaCore>SCA core version (for smart contract accounts).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Wallet
impl<'de> Deserialize<'de> for Wallet
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
Auto Trait Implementations§
impl Freeze for Wallet
impl RefUnwindSafe for Wallet
impl Send for Wallet
impl Sync for Wallet
impl Unpin for Wallet
impl UnsafeUnpin for Wallet
impl UnwindSafe for Wallet
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