Struct feed_rs::model::Link [−][src]
pub struct Link {
pub href: String,
pub rel: Option<String>,
pub media_type: Option<String>,
pub href_lang: Option<String>,
pub title: Option<String>,
pub length: Option<u64>,
}
Expand description
Represents a link to an associated resource for the feed or entry.
Fields
href: String
Link to additional content
- Atom: The URI of the referenced resource (typically a Web page).
- RSS 2: The URL to the HTML website corresponding to the channel or item.
- JSON Feed: the URI to the attachment, feed etc
rel: Option<String>
A single link relationship type.
media_type: Option<String>
Indicates the media type of the resource.
href_lang: Option<String>
Indicates the language of the referenced resource.
title: Option<String>
Human readable information about the link, typically for display purposes.
length: Option<u64>
The length of the resource, in bytes.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Link
impl UnwindSafe for Link
Blanket Implementations
Mutably borrows from an owned value. Read more