pub enum StripeOnrampSessionStatus {
Active,
Expired,
None,
}Expand description
The state of the user’s Stripe onramp session.
JSON schema
{
"title": "StripeOnrampSessionStatus",
"description": "The state of the user's Stripe onramp session.",
"type": "string",
"enum": [
"active",
"expired",
"none"
],
"x-stainless-model": "onramps.stripe_onramp_session_status"
}Variants§
Trait Implementations§
Source§impl Clone for StripeOnrampSessionStatus
impl Clone for StripeOnrampSessionStatus
Source§fn clone(&self) -> StripeOnrampSessionStatus
fn clone(&self) -> StripeOnrampSessionStatus
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 StripeOnrampSessionStatus
Source§impl Debug for StripeOnrampSessionStatus
impl Debug for StripeOnrampSessionStatus
Source§impl<'de> Deserialize<'de> for StripeOnrampSessionStatus
impl<'de> Deserialize<'de> for StripeOnrampSessionStatus
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 StripeOnrampSessionStatus
impl Display for StripeOnrampSessionStatus
impl Eq for StripeOnrampSessionStatus
Source§impl From<&StripeOnrampSessionStatus> for StripeOnrampSessionStatus
impl From<&StripeOnrampSessionStatus> for StripeOnrampSessionStatus
Source§fn from(value: &StripeOnrampSessionStatus) -> Self
fn from(value: &StripeOnrampSessionStatus) -> Self
Converts to this type from the input type.
Source§impl FromStr for StripeOnrampSessionStatus
impl FromStr for StripeOnrampSessionStatus
Source§impl Hash for StripeOnrampSessionStatus
impl Hash for StripeOnrampSessionStatus
Source§impl Ord for StripeOnrampSessionStatus
impl Ord for StripeOnrampSessionStatus
Source§fn cmp(&self, other: &StripeOnrampSessionStatus) -> Ordering
fn cmp(&self, other: &StripeOnrampSessionStatus) -> 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 StripeOnrampSessionStatus
impl PartialEq for StripeOnrampSessionStatus
Source§fn eq(&self, other: &StripeOnrampSessionStatus) -> bool
fn eq(&self, other: &StripeOnrampSessionStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for StripeOnrampSessionStatus
impl PartialOrd for StripeOnrampSessionStatus
impl StructuralPartialEq for StripeOnrampSessionStatus
Source§impl TryFrom<&String> for StripeOnrampSessionStatus
impl TryFrom<&String> for StripeOnrampSessionStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for StripeOnrampSessionStatus
impl TryFrom<&str> for StripeOnrampSessionStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for StripeOnrampSessionStatus
impl TryFrom<String> for StripeOnrampSessionStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for StripeOnrampSessionStatus
impl RefUnwindSafe for StripeOnrampSessionStatus
impl Send for StripeOnrampSessionStatus
impl Sync for StripeOnrampSessionStatus
impl Unpin for StripeOnrampSessionStatus
impl UnsafeUnpin for StripeOnrampSessionStatus
impl UnwindSafe for StripeOnrampSessionStatus
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