[−][src]Struct paypal_rs::HeaderParams
Represents the optional header values used on paypal requests.
https://developer.paypal.com/docs/api/reference/api-requests/#paypal-auth-assertion
Fields
merchant_payer_id: Option<String>
The merchant payer id used on PayPal-Auth-Assertion
client_metadata_id: Option<String>
Verifies that the payment originates from a valid, user-consented device and application. Reduces fraud and decreases declines. Transactions that do not include a client metadata ID are not eligible for PayPal Seller Protection.
partner_attribution_id: Option<String>
Identifies the caller as a PayPal partner. To receive revenue attribution, specify a unique build notation (BN) code. BN codes provide tracking on all transactions that originate or are associated with a particular partner.
request_id: Option<String>
Contains a unique user-generated ID that the server stores for a period of time. Use this header to enforce idempotency on REST API POST calls. You can make these calls any number of times without concern that the server creates or completes an action on a resource more than once. You can retry calls that fail with network timeouts or the HTTP 500 status code. You can retry calls for as long as the server stores the ID.
prefer: Option<Prefer>
The preferred server response upon successful completion of the request.
content_type: Option<String>
The media type. Required for operations with a request body.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HeaderParams
impl Send for HeaderParams
impl Sync for HeaderParams
impl Unpin for HeaderParams
impl UnwindSafe for HeaderParams
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,