Struct webfinger::Link[][src]

pub struct Link {
    pub rel: String,
    pub href: Option<String>,
    pub template: Option<String>,
    pub mime_type: Option<String>,
}

Structure to represent a WebFinger link

Fields

Tells what this link represents

The actual URL of the link

The Link may also contain an URL template, instead of an actual URL

The mime-type of this link.

If you fetch this URL, you may want to use this value for the Accept header of your HTTP request.

Trait Implementations

impl Debug for Link
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Link
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Link

impl Sync for Link