#[repr(i64)]pub enum GatewayType {
Stripe = 0,
Braintree = 1,
AppStore = 2,
PlayStore = 3,
BitPay = 4,
PayPal = 5,
Bank = 6,
}
Expand description
Variants§
Trait Implementations§
Source§impl Clone for GatewayType
impl Clone for GatewayType
Source§fn clone(&self) -> GatewayType
fn clone(&self) -> GatewayType
Returns a duplicate of the value. Read more
1.0.0 · 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 GatewayType
impl Debug for GatewayType
Source§impl Default for GatewayType
impl Default for GatewayType
Source§fn default() -> GatewayType
fn default() -> GatewayType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GatewayType
impl<'de> Deserialize<'de> for GatewayType
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 GatewayType
impl Display for GatewayType
Source§impl Hash for GatewayType
impl Hash for GatewayType
Source§impl Ord for GatewayType
impl Ord for GatewayType
Source§fn cmp(&self, other: &GatewayType) -> Ordering
fn cmp(&self, other: &GatewayType) -> Ordering
1.21.0 · 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 GatewayType
impl PartialEq for GatewayType
Source§impl PartialOrd for GatewayType
impl PartialOrd for GatewayType
Source§impl Serialize for GatewayType
impl Serialize for GatewayType
impl Copy for GatewayType
impl Eq for GatewayType
impl StructuralPartialEq for GatewayType
Auto Trait Implementations§
impl Freeze for GatewayType
impl RefUnwindSafe for GatewayType
impl Send for GatewayType
impl Sync for GatewayType
impl Unpin for GatewayType
impl UnwindSafe for GatewayType
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.