[][src]Enum paypal_rs::Prefer

pub enum Prefer {
    Minimal,
    Representation,
}

The preferred server response upon successful completion of the request.

Variants

Minimal

The server returns a minimal response to optimize communication between the API caller and the server. A minimal response includes the id, status and HATEOAS links.

Representation

The server returns a complete resource representation, including the current state of the resource.

Trait Implementations

impl Debug for Prefer[src]

impl Default for Prefer[src]

impl Eq for Prefer[src]

impl PartialEq<Prefer> for Prefer[src]

impl StructuralEq for Prefer[src]

impl StructuralPartialEq for Prefer[src]

Auto Trait Implementations

impl RefUnwindSafe for Prefer

impl Send for Prefer

impl Sync for Prefer

impl Unpin for Prefer

impl UnwindSafe for Prefer

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> 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.