Struct paypal_rs::invoice::BillingInfo
source · [−]pub struct BillingInfo {
pub business_name: String,
pub name: Option<Name>,
pub address: Option<Address>,
pub email_address: Option<String>,
pub phones: Option<Vec<PhoneDetail>>,
pub additional_info: Option<String>,
pub language: Option<String>,
}
Expand description
Billing information
Fields
business_name: String
Required. The business name of the party.
name: Option<Name>
The first and Last name of the recipient.
address: Option<Address>
The address of the recipient.
email_address: Option<String>
The invoice recipient email address. If you omit this value, the invoice is payable and a notification email is not sent.
phones: Option<Vec<PhoneDetail>>
The invoice recipient’s phone numbers. Extension number is not supported.
additional_info: Option<String>
Any additional information about the recipient. Maximum length: 40.
language: Option<String>
The language in which to show the invoice recipient’s email message. Used only when the recipient does not have a PayPal account
Trait Implementations
sourceimpl Debug for BillingInfo
impl Debug for BillingInfo
sourceimpl Default for BillingInfo
impl Default for BillingInfo
sourcefn default() -> BillingInfo
fn default() -> BillingInfo
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for BillingInfo
impl<'de> Deserialize<'de> for BillingInfo
sourcefn 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
sourceimpl Serialize for BillingInfo
impl Serialize for BillingInfo
Auto Trait Implementations
impl RefUnwindSafe for BillingInfo
impl Send for BillingInfo
impl Sync for BillingInfo
impl Unpin for BillingInfo
impl UnwindSafe for BillingInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more