Struct paypal_rs::orders::Phone [−][src]
pub struct Phone { pub phone_type: Option<PhoneType>, pub phone_number: PhoneNumber, }
Expand description
The phone number of the customer. Available only when you enable the Contact Telephone Number option in the Profile & Settings for the merchant’s PayPal account.
Fields
phone_type: Option<PhoneType>
The phone type.
phone_number: PhoneNumber
The phone number
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 Phone
impl UnwindSafe for Phone