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
rel: String
Tells what this link represents
href: Option<String>
The actual URL of the link
template: Option<String>
The Link may also contain an URL template, instead of an actual URL
mime_type: Option<String>
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]
impl Debug for Link
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Link
[src]
impl PartialEq for Link