Struct paypal_rs::invoice::PhoneDetail [−][src]
pub struct PhoneDetail { pub country_code: String, pub national_number: String, pub extension_number: Option<String>, pub phone_type: Option<PhoneType>, }
Expand description
Phone information
Fields
country_code: String
The country calling code (CC), in its canonical international E.164 numbering plan format.
national_number: String
The national number, in its canonical international E.164 numbering plan format.
extension_number: Option<String>
The extension number.
phone_type: Option<PhoneType>
The phone type.
Trait Implementations
Returns the “default value” for a type. Read more
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 PhoneDetail
impl Send for PhoneDetail
impl Sync for PhoneDetail
impl Unpin for PhoneDetail
impl UnwindSafe for PhoneDetail