[][src]Struct paypal::LinkDescription

pub struct LinkDescription {
    pub href: String,
    pub rel: String,
    pub method: Option<String>,
}

A struct containing a url and some metadata.

Fields

href: String

The complete target URL. To make the related call, combine the method with this URI Template-formatted link. For pre-processing, include the $, (, and ) characters. The href is the key HATEOAS component that links a completed call with a subsequent call.

rel: String

The link relation type, which serves as an ID for a link that unambiguously describes the semantics of the link.

method: Option<String>

The HTTP method required to make the related call. Possible values: GET, POST, PUT, DELETE, HEAD, CONNECT, OPTIONS, PATCH.

Trait Implementations

impl Debug for LinkDescription[src]

impl Serialize for LinkDescription[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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