pub struct MapConfig(pub HashMap<String, String>);Expand description
A Config backed by a map (tests, fz doctor with process env).
Tuple Fields§
§0: HashMap<String, String>Implementations§
Source§impl MapConfig
impl MapConfig
pub fn from_pairs( pairs: impl IntoIterator<Item = (impl Into<String>, impl Into<String>)>, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MapConfig
impl RefUnwindSafe for MapConfig
impl Send for MapConfig
impl Sync for MapConfig
impl Unpin for MapConfig
impl UnsafeUnpin for MapConfig
impl UnwindSafe for MapConfig
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