Struct stripe::MerchantData
source · pub struct MerchantData {
pub network_id: String,
pub category: MerchantCategory,
pub name: Option<String>,
pub city: Option<String>,
pub state: Option<String>,
pub country: Option<String>,
pub postal_code: Option<String>,
}
Expand description
The resource representing a Stripe “IssuingAuthorizationMerchantData”.
Fields§
§network_id: String
Identifier assigned to the seller by the card brand.
category: MerchantCategory
A categorization of the seller’s type of business.
See the merchant categories guide for a list of possible values.
name: Option<String>
Name of the seller.
city: Option<String>
City where the seller is located.
state: Option<String>
State where the seller is located.
country: Option<String>
Country where the seller is located.
postal_code: Option<String>
Postal code where the seller is located.
Trait Implementations§
source§impl Clone for MerchantData
impl Clone for MerchantData
source§fn clone(&self) -> MerchantData
fn clone(&self) -> MerchantData
Returns a copy 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 MerchantData
impl Debug for MerchantData
source§impl Default for MerchantData
impl Default for MerchantData
source§fn default() -> MerchantData
fn default() -> MerchantData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MerchantData
impl<'de> Deserialize<'de> for MerchantData
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
Auto Trait Implementations§
impl Freeze for MerchantData
impl RefUnwindSafe for MerchantData
impl Send for MerchantData
impl Sync for MerchantData
impl Unpin for MerchantData
impl UnwindSafe for MerchantData
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