Trait QueryMapUtilities

Source
pub trait QueryMapUtilities {
    // Required method
    fn get_single(&self, key: &str) -> Option<&ByteString>;

    // Provided method
    fn get_single_as_ref(&self, key: &str) -> Option<&str> { ... }
}
Expand description

QueryMap utilities.

Required Methods§

Source

fn get_single(&self, key: &str) -> Option<&ByteString>

Gets a value for a key only if there is a single value.

Provided Methods§

Source

fn get_single_as_ref(&self, key: &str) -> Option<&str>

Gets a value for a key only if there is a single value.

Implementors§