pub enum HeaderThirdPartyRelation {
Bnpl,
DeliveryService,
Marketplace,
PaymentProcessor,
Platform,
PointOfSale,
}Expand description
HeaderThirdPartyRelation
JSON schema
{
"type": "string",
"enum": [
"bnpl",
"delivery_service",
"marketplace",
"payment_processor",
"platform",
"point_of_sale"
]
}Variants§
Trait Implementations§
Source§impl Clone for HeaderThirdPartyRelation
impl Clone for HeaderThirdPartyRelation
Source§fn clone(&self) -> HeaderThirdPartyRelation
fn clone(&self) -> HeaderThirdPartyRelation
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 HeaderThirdPartyRelation
Source§impl Debug for HeaderThirdPartyRelation
impl Debug for HeaderThirdPartyRelation
Source§impl<'de> Deserialize<'de> for HeaderThirdPartyRelation
impl<'de> Deserialize<'de> for HeaderThirdPartyRelation
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 HeaderThirdPartyRelation
impl Display for HeaderThirdPartyRelation
impl Eq for HeaderThirdPartyRelation
Source§impl From<&HeaderThirdPartyRelation> for HeaderThirdPartyRelation
impl From<&HeaderThirdPartyRelation> for HeaderThirdPartyRelation
Source§fn from(value: &HeaderThirdPartyRelation) -> Self
fn from(value: &HeaderThirdPartyRelation) -> Self
Converts to this type from the input type.
Source§impl FromStr for HeaderThirdPartyRelation
impl FromStr for HeaderThirdPartyRelation
Source§impl Hash for HeaderThirdPartyRelation
impl Hash for HeaderThirdPartyRelation
Source§impl Ord for HeaderThirdPartyRelation
impl Ord for HeaderThirdPartyRelation
Source§fn cmp(&self, other: &HeaderThirdPartyRelation) -> Ordering
fn cmp(&self, other: &HeaderThirdPartyRelation) -> 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 HeaderThirdPartyRelation
impl PartialEq for HeaderThirdPartyRelation
Source§fn eq(&self, other: &HeaderThirdPartyRelation) -> bool
fn eq(&self, other: &HeaderThirdPartyRelation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for HeaderThirdPartyRelation
impl PartialOrd for HeaderThirdPartyRelation
Source§impl Serialize for HeaderThirdPartyRelation
impl Serialize for HeaderThirdPartyRelation
impl StructuralPartialEq for HeaderThirdPartyRelation
Source§impl TryFrom<&String> for HeaderThirdPartyRelation
impl TryFrom<&String> for HeaderThirdPartyRelation
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for HeaderThirdPartyRelation
impl TryFrom<&str> for HeaderThirdPartyRelation
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for HeaderThirdPartyRelation
impl TryFrom<String> for HeaderThirdPartyRelation
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for HeaderThirdPartyRelation
impl RefUnwindSafe for HeaderThirdPartyRelation
impl Send for HeaderThirdPartyRelation
impl Sync for HeaderThirdPartyRelation
impl Unpin for HeaderThirdPartyRelation
impl UnsafeUnpin for HeaderThirdPartyRelation
impl UnwindSafe for HeaderThirdPartyRelation
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