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

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.