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§
Sourcefn get_single(&self, key: &str) -> Option<&ByteString>
fn get_single(&self, key: &str) -> Option<&ByteString>
Gets a value for a key only if there is a single value.
Provided Methods§
Sourcefn get_single_as_ref(&self, key: &str) -> Option<&str>
fn get_single_as_ref(&self, key: &str) -> Option<&str>
Gets a value for a key only if there is a single value.