pub enum CapabilityName {
CustodyCrypto,
CustodyFiat,
CustodyStablecoin,
TradeCrypto,
TradeStablecoin,
TransferCrypto,
TransferFiat,
TransferStablecoin,
}Expand description
The name of a capability. Capabilities represent granular functional permissions that determine what actions a customer can perform. Each capability must be explicitly requested before use.
JSON schema
{
"description": "The name of a capability. Capabilities represent granular functional permissions\nthat determine what actions a customer can perform. Each capability must be\nexplicitly requested before use.\n",
"examples": [
"custodyCrypto"
],
"type": "string",
"enum": [
"custodyCrypto",
"custodyFiat",
"custodyStablecoin",
"tradeCrypto",
"tradeStablecoin",
"transferCrypto",
"transferFiat",
"transferStablecoin"
]
}Variants§
CustodyCrypto
CustodyFiat
CustodyStablecoin
TradeCrypto
TradeStablecoin
TransferCrypto
TransferFiat
TransferStablecoin
Trait Implementations§
Source§impl Clone for CapabilityName
impl Clone for CapabilityName
Source§fn clone(&self) -> CapabilityName
fn clone(&self) -> CapabilityName
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 Debug for CapabilityName
impl Debug for CapabilityName
Source§impl<'de> Deserialize<'de> for CapabilityName
impl<'de> Deserialize<'de> for CapabilityName
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 CapabilityName
impl Display for CapabilityName
Source§impl From<&CapabilityName> for CapabilityName
impl From<&CapabilityName> for CapabilityName
Source§fn from(value: &CapabilityName) -> Self
fn from(value: &CapabilityName) -> Self
Converts to this type from the input type.
Source§impl FromStr for CapabilityName
impl FromStr for CapabilityName
Source§impl Hash for CapabilityName
impl Hash for CapabilityName
Source§impl Ord for CapabilityName
impl Ord for CapabilityName
Source§fn cmp(&self, other: &CapabilityName) -> Ordering
fn cmp(&self, other: &CapabilityName) -> 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 CapabilityName
impl PartialEq for CapabilityName
Source§fn eq(&self, other: &CapabilityName) -> bool
fn eq(&self, other: &CapabilityName) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CapabilityName
impl PartialOrd for CapabilityName
Source§impl Serialize for CapabilityName
impl Serialize for CapabilityName
Source§impl TryFrom<&String> for CapabilityName
impl TryFrom<&String> for CapabilityName
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for CapabilityName
impl TryFrom<&str> for CapabilityName
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for CapabilityName
impl TryFrom<String> for CapabilityName
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for CapabilityName
impl Eq for CapabilityName
impl StructuralPartialEq for CapabilityName
Auto Trait Implementations§
impl Freeze for CapabilityName
impl RefUnwindSafe for CapabilityName
impl Send for CapabilityName
impl Sync for CapabilityName
impl Unpin for CapabilityName
impl UnsafeUnpin for CapabilityName
impl UnwindSafe for CapabilityName
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.