pub enum FiatOnrampEnvironment {
Production,
Sandbox,
}Expand description
Whether to use the sandbox or production environment for fiat onramp.
JSON schema
{
"title": "FiatOnrampEnvironment",
"description": "Whether to use the sandbox or production environment
for fiat onramp.",
"examples": [
"production"
],
"type": "string",
"enum": [
"production",
"sandbox"
],
"x-stainless-model": "onramps.fiat_onramp_environment"
}Variants§
Trait Implementations§
Source§impl Clone for FiatOnrampEnvironment
impl Clone for FiatOnrampEnvironment
Source§fn clone(&self) -> FiatOnrampEnvironment
fn clone(&self) -> FiatOnrampEnvironment
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 FiatOnrampEnvironment
Source§impl Debug for FiatOnrampEnvironment
impl Debug for FiatOnrampEnvironment
Source§impl<'de> Deserialize<'de> for FiatOnrampEnvironment
impl<'de> Deserialize<'de> for FiatOnrampEnvironment
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 FiatOnrampEnvironment
impl Display for FiatOnrampEnvironment
impl Eq for FiatOnrampEnvironment
Source§impl From<&FiatOnrampEnvironment> for FiatOnrampEnvironment
impl From<&FiatOnrampEnvironment> for FiatOnrampEnvironment
Source§fn from(value: &FiatOnrampEnvironment) -> Self
fn from(value: &FiatOnrampEnvironment) -> Self
Converts to this type from the input type.
Source§impl FromStr for FiatOnrampEnvironment
impl FromStr for FiatOnrampEnvironment
Source§impl Hash for FiatOnrampEnvironment
impl Hash for FiatOnrampEnvironment
Source§impl Ord for FiatOnrampEnvironment
impl Ord for FiatOnrampEnvironment
Source§fn cmp(&self, other: &FiatOnrampEnvironment) -> Ordering
fn cmp(&self, other: &FiatOnrampEnvironment) -> 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 FiatOnrampEnvironment
impl PartialEq for FiatOnrampEnvironment
Source§fn eq(&self, other: &FiatOnrampEnvironment) -> bool
fn eq(&self, other: &FiatOnrampEnvironment) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for FiatOnrampEnvironment
impl PartialOrd for FiatOnrampEnvironment
Source§impl Serialize for FiatOnrampEnvironment
impl Serialize for FiatOnrampEnvironment
impl StructuralPartialEq for FiatOnrampEnvironment
Source§impl TryFrom<&String> for FiatOnrampEnvironment
impl TryFrom<&String> for FiatOnrampEnvironment
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for FiatOnrampEnvironment
impl TryFrom<&str> for FiatOnrampEnvironment
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for FiatOnrampEnvironment
impl TryFrom<String> for FiatOnrampEnvironment
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for FiatOnrampEnvironment
impl RefUnwindSafe for FiatOnrampEnvironment
impl Send for FiatOnrampEnvironment
impl Sync for FiatOnrampEnvironment
impl Unpin for FiatOnrampEnvironment
impl UnsafeUnpin for FiatOnrampEnvironment
impl UnwindSafe for FiatOnrampEnvironment
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