pub enum OnrampChain {
Arbitrum,
Base,
Ethereum,
Optimism,
Polygon,
}Expand description
Supported blockchain chains for onramp and offramp.
JSON schema
{
"title": "OnrampChain",
"description": "Supported blockchain chains for onramp and offramp.",
"type": "string",
"enum": [
"arbitrum",
"base",
"ethereum",
"optimism",
"polygon"
],
"x-stainless-model": "fiat.onramp_chain"
}Variants§
Trait Implementations§
Source§impl Clone for OnrampChain
impl Clone for OnrampChain
Source§fn clone(&self) -> OnrampChain
fn clone(&self) -> OnrampChain
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 moreimpl Copy for OnrampChain
Source§impl Debug for OnrampChain
impl Debug for OnrampChain
Source§impl<'de> Deserialize<'de> for OnrampChain
impl<'de> Deserialize<'de> for OnrampChain
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 OnrampChain
impl Display for OnrampChain
impl Eq for OnrampChain
Source§impl From<&OnrampChain> for OnrampChain
impl From<&OnrampChain> for OnrampChain
Source§fn from(value: &OnrampChain) -> Self
fn from(value: &OnrampChain) -> Self
Converts to this type from the input type.
Source§impl FromStr for OnrampChain
impl FromStr for OnrampChain
Source§impl Hash for OnrampChain
impl Hash for OnrampChain
Source§impl Ord for OnrampChain
impl Ord for OnrampChain
Source§fn cmp(&self, other: &OnrampChain) -> Ordering
fn cmp(&self, other: &OnrampChain) -> 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 OnrampChain
impl PartialEq for OnrampChain
Source§fn eq(&self, other: &OnrampChain) -> bool
fn eq(&self, other: &OnrampChain) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OnrampChain
impl PartialOrd for OnrampChain
Source§impl Serialize for OnrampChain
impl Serialize for OnrampChain
impl StructuralPartialEq for OnrampChain
Source§impl TryFrom<&String> for OnrampChain
impl TryFrom<&String> for OnrampChain
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for OnrampChain
impl TryFrom<&str> for OnrampChain
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for OnrampChain
impl TryFrom<String> for OnrampChain
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for OnrampChain
impl RefUnwindSafe for OnrampChain
impl Send for OnrampChain
impl Sync for OnrampChain
impl Unpin for OnrampChain
impl UnsafeUnpin for OnrampChain
impl UnwindSafe for OnrampChain
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