Trait twitch_api_rs::requests::HeadersExt[][src]

pub trait HeadersExt {
    fn as_ref<'a>(&'a self) -> &'a [(&'a str, &'a str)];
}

Marker trait for auto implementation of headers

Must be able to borrow as a map of header names to values

Required methods

fn as_ref<'a>(&'a self) -> &'a [(&'a str, &'a str)][src]

Borrow the object as map from header names to values

Loading content...

Implementors

Loading content...