Struct paypal_rs::orders::PayerName [−][src]
Expand description
Represents a payer name.
https://developer.paypal.com/docs/api/orders/v2/#definition-payer.name
Fields
given_name: String
When the party is a person, the party’s given, or first, name.
surname: String
When the party is a person, the party’s surname or family name. Also known as the last name. Required when the party is a person. Use also to store multiple surnames including the matronymic, or mother’s, surname.
Trait Implementations
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 RefUnwindSafe for PayerName
impl UnwindSafe for PayerName