pub struct DepositAddress {
pub address: String,
pub currency: String,
pub address_type: AddressType,
pub creation_timestamp: i64,
}Expand description
Deposit address information
Represents a deposit address for a specific currency,
returned by /private/get_current_deposit_address or /private/create_deposit_address.
Fields§
§address: StringCryptocurrency address in proper format
currency: StringCurrency code (e.g., “BTC”, “ETH”)
address_type: AddressTypeAddress type (deposit/withdrawal/transfer)
creation_timestamp: i64Creation timestamp in milliseconds since Unix epoch
Implementations§
Trait Implementations§
Source§impl Clone for DepositAddress
impl Clone for DepositAddress
Source§fn clone(&self) -> DepositAddress
fn clone(&self) -> DepositAddress
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 DepositAddress
impl Debug for DepositAddress
Source§impl<'de> Deserialize<'de> for DepositAddress
impl<'de> Deserialize<'de> for DepositAddress
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 Display for DepositAddress
impl Display for DepositAddress
Source§impl PartialEq for DepositAddress
impl PartialEq for DepositAddress
Source§impl Serialize for DepositAddress
impl Serialize for DepositAddress
impl Eq for DepositAddress
impl StructuralPartialEq for DepositAddress
Auto Trait Implementations§
impl Freeze for DepositAddress
impl RefUnwindSafe for DepositAddress
impl Send for DepositAddress
impl Sync for DepositAddress
impl Unpin for DepositAddress
impl UnsafeUnpin for DepositAddress
impl UnwindSafe for DepositAddress
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