Struct DepositAddressRequest
pub struct DepositAddressRequest {
pub asset: String,
pub network: Network,
pub amount: Option<Decimal>,
}Expand description
Selects one deposit address for an asset and network.
Fields§
§asset: StringAsset symbol, uppercase.
network: NetworkCanonical network.
amount: Option<Decimal>Amount required by address-per-payment networks such as Lightning.
Implementations§
Trait Implementations§
§impl Clone for DepositAddressRequest
impl Clone for DepositAddressRequest
§fn clone(&self) -> DepositAddressRequest
fn clone(&self) -> DepositAddressRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for DepositAddressRequest
impl Debug for DepositAddressRequest
impl Eq for DepositAddressRequest
§impl PartialEq for DepositAddressRequest
impl PartialEq for DepositAddressRequest
impl StructuralPartialEq for DepositAddressRequest
Auto Trait Implementations§
impl Freeze for DepositAddressRequest
impl RefUnwindSafe for DepositAddressRequest
impl Send for DepositAddressRequest
impl Sync for DepositAddressRequest
impl Unpin for DepositAddressRequest
impl UnsafeUnpin for DepositAddressRequest
impl UnwindSafe for DepositAddressRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.