pub enum TravelRuleBeneficiaryWalletType {
Custodial,
SelfCustody,
}Expand description
The type of the beneficiary’s wallet.
JSON schema
{
"description": "The type of the beneficiary's wallet.",
"examples": [
"custodial"
],
"type": "string",
"enum": [
"custodial",
"self_custody"
]
}Variants§
Trait Implementations§
Source§impl Clone for TravelRuleBeneficiaryWalletType
impl Clone for TravelRuleBeneficiaryWalletType
Source§fn clone(&self) -> TravelRuleBeneficiaryWalletType
fn clone(&self) -> TravelRuleBeneficiaryWalletType
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 moreSource§impl<'de> Deserialize<'de> for TravelRuleBeneficiaryWalletType
impl<'de> Deserialize<'de> for TravelRuleBeneficiaryWalletType
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<&TravelRuleBeneficiaryWalletType> for TravelRuleBeneficiaryWalletType
impl From<&TravelRuleBeneficiaryWalletType> for TravelRuleBeneficiaryWalletType
Source§fn from(value: &TravelRuleBeneficiaryWalletType) -> Self
fn from(value: &TravelRuleBeneficiaryWalletType) -> Self
Converts to this type from the input type.
Source§impl Ord for TravelRuleBeneficiaryWalletType
impl Ord for TravelRuleBeneficiaryWalletType
Source§fn cmp(&self, other: &TravelRuleBeneficiaryWalletType) -> Ordering
fn cmp(&self, other: &TravelRuleBeneficiaryWalletType) -> Ordering
1.21.0 (const: unstable) · 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 TravelRuleBeneficiaryWalletType
impl PartialEq for TravelRuleBeneficiaryWalletType
Source§fn eq(&self, other: &TravelRuleBeneficiaryWalletType) -> bool
fn eq(&self, other: &TravelRuleBeneficiaryWalletType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TravelRuleBeneficiaryWalletType
impl PartialOrd for TravelRuleBeneficiaryWalletType
Source§impl TryFrom<&String> for TravelRuleBeneficiaryWalletType
impl TryFrom<&String> for TravelRuleBeneficiaryWalletType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for TravelRuleBeneficiaryWalletType
impl TryFrom<&str> for TravelRuleBeneficiaryWalletType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for TravelRuleBeneficiaryWalletType
impl TryFrom<String> for TravelRuleBeneficiaryWalletType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for TravelRuleBeneficiaryWalletType
impl Eq for TravelRuleBeneficiaryWalletType
impl StructuralPartialEq for TravelRuleBeneficiaryWalletType
Auto Trait Implementations§
impl Freeze for TravelRuleBeneficiaryWalletType
impl RefUnwindSafe for TravelRuleBeneficiaryWalletType
impl Send for TravelRuleBeneficiaryWalletType
impl Sync for TravelRuleBeneficiaryWalletType
impl Unpin for TravelRuleBeneficiaryWalletType
impl UnsafeUnpin for TravelRuleBeneficiaryWalletType
impl UnwindSafe for TravelRuleBeneficiaryWalletType
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.