pub enum MerchantInfo {
Id(String),
Details(Box<Merchant>),
}Expand description
Merchant information which might be returned in transactions data.
An id or a struct may be returned depending on whether the ‘expand merchant’ flag is set in the transactions request.
Variants§
Id(String)
A unique ID associated with a merchant
Details(Box<Merchant>)
Extra merchant information which may optionally be requested
Trait Implementations§
Source§impl Clone for MerchantInfo
impl Clone for MerchantInfo
Source§fn clone(&self) -> MerchantInfo
fn clone(&self) -> MerchantInfo
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 MerchantInfo
impl Debug for MerchantInfo
Source§impl<'de> Deserialize<'de> for MerchantInfo
impl<'de> Deserialize<'de> for MerchantInfo
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 PartialEq for MerchantInfo
impl PartialEq for MerchantInfo
impl StructuralPartialEq for MerchantInfo
Auto Trait Implementations§
impl Freeze for MerchantInfo
impl RefUnwindSafe for MerchantInfo
impl Send for MerchantInfo
impl Sync for MerchantInfo
impl Unpin for MerchantInfo
impl UnwindSafe for MerchantInfo
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