pub struct CustodialWallet {
pub address: String,
pub chain_type: CustodialWalletChainType,
pub id: String,
pub provider: CustodialWalletProvider,
}Expand description
CustodialWallet
JSON schema
{
"examples": [
{
"address": "0xF1DBff66C993EE895C8cb176c30b07A559d76496",
"chain_type": "ethereum",
"id": "id2tptkqrxd39qo9j423etij",
"provider": "bridge"
}
],
"type": "object",
"required": [
"address",
"chain_type",
"id",
"provider"
],
"properties": {
"address": {
"type": "string"
},
"chain_type": {
"type": "string",
"enum": [
"ethereum"
]
},
"id": {
"type": "string"
},
"provider": {
"type": "string",
"enum": [
"bridge"
]
}
}
}Fields§
§address: String§chain_type: CustodialWalletChainType§id: String§provider: CustodialWalletProviderTrait Implementations§
Source§impl Clone for CustodialWallet
impl Clone for CustodialWallet
Source§fn clone(&self) -> CustodialWallet
fn clone(&self) -> CustodialWallet
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 CustodialWallet
impl Debug for CustodialWallet
Source§impl<'de> Deserialize<'de> for CustodialWallet
impl<'de> Deserialize<'de> for CustodialWallet
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CustodialWallet, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CustodialWallet, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&CustodialWallet> for CustodialWallet
impl From<&CustodialWallet> for CustodialWallet
Source§fn from(value: &CustodialWallet) -> CustodialWallet
fn from(value: &CustodialWallet) -> CustodialWallet
Converts to this type from the input type.
Source§impl Serialize for CustodialWallet
impl Serialize for CustodialWallet
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for CustodialWallet
impl RefUnwindSafe for CustodialWallet
impl Send for CustodialWallet
impl Sync for CustodialWallet
impl Unpin for CustodialWallet
impl UnwindSafe for CustodialWallet
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