#[non_exhaustive]pub enum UnsupportedProductReason {
Limit,
Recipient,
Scheduled,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Limit
The amount is not allowed for the payment product.
Recipient
The recipient is not capable to receive the payment product.
Scheduled
Scheduled payments are not supported.
Trait Implementations§
Source§impl Clone for UnsupportedProductReason
impl Clone for UnsupportedProductReason
Source§fn clone(&self) -> UnsupportedProductReason
fn clone(&self) -> UnsupportedProductReason
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 UnsupportedProductReason
impl Debug for UnsupportedProductReason
Source§impl<'de> Deserialize<'de> for UnsupportedProductReason
impl<'de> Deserialize<'de> for UnsupportedProductReason
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UnsupportedProductReason, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UnsupportedProductReason, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UnsupportedProductReason
impl PartialEq for UnsupportedProductReason
Source§fn eq(&self, other: &UnsupportedProductReason) -> bool
fn eq(&self, other: &UnsupportedProductReason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UnsupportedProductReason
impl Serialize for UnsupportedProductReason
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for UnsupportedProductReason
impl Eq for UnsupportedProductReason
impl StructuralPartialEq for UnsupportedProductReason
Auto Trait Implementations§
impl Freeze for UnsupportedProductReason
impl RefUnwindSafe for UnsupportedProductReason
impl Send for UnsupportedProductReason
impl Sync for UnsupportedProductReason
impl Unpin for UnsupportedProductReason
impl UnsafeUnpin for UnsupportedProductReason
impl UnwindSafe for UnsupportedProductReason
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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