Struct paypal_rs::data::invoice::RecipientInfo
source · pub struct RecipientInfo {
pub billing_info: Option<BillingInfo>,
pub shipping_info: Option<ContactInformation>,
}
Expand description
Recipient information
Fields§
§billing_info: Option<BillingInfo>
The billing information for the invoice recipient. Includes name, address, email, phone, and language.
shipping_info: Option<ContactInformation>
The recipient’s shipping information. Includes the user’s contact information, which includes name and address.
Trait Implementations§
source§impl Clone for RecipientInfo
impl Clone for RecipientInfo
source§fn clone(&self) -> RecipientInfo
fn clone(&self) -> RecipientInfo
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 RecipientInfo
impl Debug for RecipientInfo
source§impl Default for RecipientInfo
impl Default for RecipientInfo
source§fn default() -> RecipientInfo
fn default() -> RecipientInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RecipientInfo
impl<'de> Deserialize<'de> for RecipientInfo
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