Skip to main content

Multimap

Type Alias Multimap 

Source
pub type Multimap = MultiMap<String, String>;
Expand description

Multimap for string key and string value

Aliased Type§

pub struct Multimap { /* private fields */ }

Trait Implementations§

Source§

impl MultimapExt for Multimap

Source§

fn add<K: Into<String>, V: Into<String>>(&mut self, key: K, value: V)

Adds a key-value pair to the multimap
Source§

fn add_multimap(&mut self, other: Multimap)

Adds a multimap to the current multimap
Source§

fn add_version(&mut self, version: Option<VersionId>)

Source§

fn take_version(self) -> Option<String>

Source§

fn to_query_string(&self) -> String

Converts multimap to HTTP query string
Source§

fn get_canonical_query_string(&self) -> String

Converts multimap to canonical query string
Source§

fn get_canonical_headers(&self) -> (String, String)

Converts multimap to signed headers and canonical headers