[][src]Struct mailchimp::types::LinkType

pub struct LinkType {
    pub rel: String,
    pub href: String,
    pub method: String,
    pub target_schema: Option<String>,
    pub schema: String,
}

Fields

rel: String

Desc: As with an HTML ‘rel’ attribute, this describes the type of link.

href: String

Desc: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action.

method: String

Desc: The HTTP method that should be used when accessing the URL defined in ‘href’.

target_schema: Option<String>

Desc: For GETs, this is a URL representing the schema that the response should conform to.

schema: String

Desc: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to.

Trait Implementations

impl Default for LinkType[src]

impl Clone for LinkType[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for LinkType[src]

impl Serialize for LinkType[src]

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

Auto Trait Implementations

impl Send for LinkType

impl Sync for LinkType

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> 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 for T where
    U: TryFrom<T>, 

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