[][src]Struct paypal_rs::invoice::CancelReason

pub struct CancelReason {
    pub subject: Option<String>,
    pub note: Option<String>,
    pub send_to_invoicer: Option<bool>,
    pub send_to_recipient: Option<bool>,
    pub additional_recipients: Option<Vec<String>>,
}

Cancel invoice reason

Fields

subject: Option<String>

The subject of the email that is sent as a notification to the recipient.

note: Option<String>

A note to the payer.

send_to_invoicer: Option<bool>

Indicates whether to send a copy of the email to the merchant.

send_to_recipient: Option<bool>

Indicates whether to send a copy of the email to the recipient.

additional_recipients: Option<Vec<String>>

An array of one or more CC: emails to which notifications are sent. If you omit this parameter, a notification is sent to all CC: email addresses that are part of the invoice.

Trait Implementations

impl Debug for CancelReason[src]

impl Default for CancelReason[src]

impl<'de> Deserialize<'de> for CancelReason[src]

impl Serialize for CancelReason[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.