Struct hubcaps::Links
[−]
[src]
pub struct Links { /* fields omitted */ }
An abstract collection of Link header urls Exposes interfaces to access link relations github typically sends as headers
Methods
impl Links
[src]
fn new<V>(value: V) -> Links where
V: Into<String>,
V: Into<String>,
Creates a new Links instance given a raw header string value
fn next(&self) -> Option<String>
Returns next link url, when vailable
fn prev(&self) -> Option<String>
Returns prev link url, when vailable
fn last(&self) -> Option<String>
Returns last link url, when vailable