[][src]Struct google_domainsrdap1::Link

pub struct Link {
    pub href: Option<String>,
    pub rel: Option<String>,
    pub title: Option<String>,
    pub media: Option<String>,
    pub type_: Option<String>,
    pub value: Option<String>,
    pub hreflang: Option<String>,
}

Links object defined in section 4.2 of RFC 7483.

This type is not used in any activity, and only used as part of another schema.

Fields

href: Option<String>

Target URL of a link. Example: "http://example.com/previous".

rel: Option<String>

Relation type of a link. Example: "previous".

title: Option<String>

Title of this link. Example: "title".

media: Option<String>

Media type of the link destination. Example: "screen".

type_: Option<String>

Content type of the link. Example: "application/json".

value: Option<String>

URL giving context for the link. Example: "http://example.com/current".

hreflang: Option<String>

Language code of a link. Example: "en".

Trait Implementations

impl Clone for Link[src]

impl Debug for Link[src]

impl Default for Link[src]

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

impl Part for Link[src]

impl Serialize for Link[src]

Auto Trait Implementations

impl RefUnwindSafe for Link

impl Send for Link

impl Sync for Link

impl Unpin for Link

impl UnwindSafe for Link

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, U> Into<U> for T where
    U: From<T>, 
[src]

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

type Owned = T

The resulting type after obtaining ownership.

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> Typeable for T where
    T: Any