pub enum DstAddressType {
Whitelisted,
OneTime,
Star,
}
Expand description
Defines whether the destination to which you are sending funds must be whitelisted, to allow one-time transfers to non-whitelisted external addresses, or both. By default, you can only transfer to an external address after it’s whitelisted. * WHITELISTED - Can only be sent to whitelisted addresses. * ONE_TIME - Can only be sent to non-whitelisted external addresses. * "*" - can be sent to whitelisted addresses or non-whitelisted external
Variants§
Trait Implementations§
Source§impl Clone for DstAddressType
impl Clone for DstAddressType
Source§fn clone(&self) -> DstAddressType
fn clone(&self) -> DstAddressType
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 DstAddressType
impl Debug for DstAddressType
Source§impl Default for DstAddressType
impl Default for DstAddressType
Source§fn default() -> DstAddressType
fn default() -> DstAddressType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DstAddressType
impl<'de> Deserialize<'de> for DstAddressType
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 Hash for DstAddressType
impl Hash for DstAddressType
Source§impl Ord for DstAddressType
impl Ord for DstAddressType
Source§fn cmp(&self, other: &DstAddressType) -> Ordering
fn cmp(&self, other: &DstAddressType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DstAddressType
impl PartialEq for DstAddressType
Source§impl PartialOrd for DstAddressType
impl PartialOrd for DstAddressType
Source§impl Serialize for DstAddressType
impl Serialize for DstAddressType
impl Copy for DstAddressType
impl Eq for DstAddressType
impl StructuralPartialEq for DstAddressType
Auto Trait Implementations§
impl Freeze for DstAddressType
impl RefUnwindSafe for DstAddressType
impl Send for DstAddressType
impl Sync for DstAddressType
impl Unpin for DstAddressType
impl UnwindSafe for DstAddressType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.