pub struct UnmanagedWallet {
pub id: String,
pub name: String,
pub customer_ref_id: Option<String>,
pub assets: Vec<WalletAsset>,
}
Fields§
§id: String
§name: String
§customer_ref_id: Option<String>
§assets: Vec<WalletAsset>
Implementations§
Source§impl UnmanagedWallet
impl UnmanagedWallet
pub fn new( id: String, name: String, assets: Vec<WalletAsset>, ) -> UnmanagedWallet
Trait Implementations§
Source§impl Clone for UnmanagedWallet
impl Clone for UnmanagedWallet
Source§fn clone(&self) -> UnmanagedWallet
fn clone(&self) -> UnmanagedWallet
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 UnmanagedWallet
impl Debug for UnmanagedWallet
Source§impl Default for UnmanagedWallet
impl Default for UnmanagedWallet
Source§fn default() -> UnmanagedWallet
fn default() -> UnmanagedWallet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnmanagedWallet
impl<'de> Deserialize<'de> for UnmanagedWallet
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<UnmanagedWallet> for WalletContainer
impl From<UnmanagedWallet> for WalletContainer
Source§fn from(value: UnmanagedWallet) -> Self
fn from(value: UnmanagedWallet) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UnmanagedWallet
impl PartialEq for UnmanagedWallet
Source§impl Serialize for UnmanagedWallet
impl Serialize for UnmanagedWallet
impl StructuralPartialEq for UnmanagedWallet
Auto Trait Implementations§
impl Freeze for UnmanagedWallet
impl RefUnwindSafe for UnmanagedWallet
impl Send for UnmanagedWallet
impl Sync for UnmanagedWallet
impl Unpin for UnmanagedWallet
impl UnwindSafe for UnmanagedWallet
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