Struct atom_syndication::Link
[−]
[src]
pub struct Link { pub href: String, pub rel: Option<String>, pub mediatype: Option<String>, pub hreflang: Option<String>, pub title: Option<String>, pub length: Option<String>, }
[The Atom Syndication Format § The "atom:link" Element] (https://tools.ietf.org/html/rfc4287#section-4.2.7)
Fields
href: String
rel: Option<String>
mediatype: Option<String>
hreflang: Option<String>
title: Option<String>
length: Option<String>
Trait Implementations
impl Clone for Link
[src]
fn clone(&self) -> Link
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for Link
[src]
impl Debug for Link
[src]
impl PartialEq for Link
[src]
fn eq(&self, __arg_0: &Link) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Link) -> bool
This method tests for !=
.