Trait QueryExtractor
Source pub trait QueryExtractor {
// Required method
fn extract_value(&self, key: &str) -> Option<&str>;
}
Expand description
A trait for extracting values from a query string.
Extracts the value associated with the specified key from the query string.
§Arguments
key - The key whose associated value is to be returned.
§Returns
Option<&str> - Some(&str) if the key exists, otherwise None.