pub struct CgiEnvironment { /* private fields */ }Expand description
A map of CGI environment variables.
Implementations§
Source§impl CgiEnvironment
impl CgiEnvironment
Sourcepub fn get(&self, key: &str) -> Option<&str>
pub fn get(&self, key: &str) -> Option<&str>
Obtains the value of the specified environment variable.
Sourcepub fn contains_key(&self, key: &str) -> bool
pub fn contains_key(&self, key: &str) -> bool
Determines whether the specified environment variable exists.
Trait Implementations§
Source§impl Clone for CgiEnvironment
impl Clone for CgiEnvironment
Source§fn clone(&self) -> CgiEnvironment
fn clone(&self) -> CgiEnvironment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CgiEnvironment
impl Debug for CgiEnvironment
Source§impl From<LinkedHashMap<String, String>> for CgiEnvironment
impl From<LinkedHashMap<String, String>> for CgiEnvironment
Source§fn from(map: LinkedHashMap<String, String>) -> CgiEnvironment
fn from(map: LinkedHashMap<String, String>) -> CgiEnvironment
Converts to this type from the input type.
Source§impl FromIterator<(String, String)> for CgiEnvironment
impl FromIterator<(String, String)> for CgiEnvironment
Source§fn from_iter<T>(iter: T) -> CgiEnvironment
fn from_iter<T>(iter: T) -> CgiEnvironment
Creates a value from an iterator. Read more
Source§impl Hash for CgiEnvironment
impl Hash for CgiEnvironment
Source§impl Index<&str> for CgiEnvironment
impl Index<&str> for CgiEnvironment
Source§impl<'a> IntoIterator for &'a CgiEnvironment
impl<'a> IntoIterator for &'a CgiEnvironment
Source§fn into_iter(self) -> <&'a CgiEnvironment as IntoIterator>::IntoIter
fn into_iter(self) -> <&'a CgiEnvironment as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
Source§impl IntoIterator for CgiEnvironment
impl IntoIterator for CgiEnvironment
Source§impl PartialEq for CgiEnvironment
impl PartialEq for CgiEnvironment
impl Eq for CgiEnvironment
impl StructuralPartialEq for CgiEnvironment
Auto Trait Implementations§
impl Freeze for CgiEnvironment
impl RefUnwindSafe for CgiEnvironment
impl Send for CgiEnvironment
impl Sync for CgiEnvironment
impl Unpin for CgiEnvironment
impl UnwindSafe for CgiEnvironment
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more