pub struct Environment {
pub variables: BTreeMap<String, String>,
pub name: Option<String>,
}Fields§
§variables: BTreeMap<String, String>§name: Option<String>The variable DISPLAY UPON ENVIRONMENT-NAME last named.
Implementations§
Source§impl Environment
impl Environment
pub fn of(variables: BTreeMap<String, String>) -> Self
Sourcepub fn name(&mut self, text: &str)
pub fn name(&mut self, text: &str)
DISPLAY UPON ENVIRONMENT-NAME: the variable the next ENVIRONMENT-VALUE reads or sets, the text without its trailing spaces.
Trait Implementations§
Source§impl Clone for Environment
impl Clone for Environment
Source§impl Debug for Environment
impl Debug for Environment
Source§impl Default for Environment
impl Default for Environment
impl Eq for Environment
Source§impl PartialEq for Environment
impl PartialEq for Environment
impl StructuralPartialEq for Environment
Auto Trait Implementations§
impl Freeze for Environment
impl RefUnwindSafe for Environment
impl Send for Environment
impl Sync for Environment
impl Unpin for Environment
impl UnsafeUnpin for Environment
impl UnwindSafe for Environment
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