pub struct Environment_variable_type(/* private fields */);
Implementations§
Source§impl Environment_variable_type
impl Environment_variable_type
Sourcepub fn Get_name(&self) -> &str
pub fn Get_name(&self) -> &str
Create a new environment variable from a raw string.
§Example
use Task::Environment_variable_type;
let Environment_variable = Environment_variable_type::New("Name", "Value");
assert_eq!(Environment_variable.Get_name(), "Name");
Trait Implementations§
Source§impl Clone for Environment_variable_type
impl Clone for Environment_variable_type
Source§fn clone(&self) -> Environment_variable_type
fn clone(&self) -> Environment_variable_type
Returns a copy 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 Environment_variable_type
impl Debug for Environment_variable_type
Source§impl Hash for Environment_variable_type
impl Hash for Environment_variable_type
impl Eq for Environment_variable_type
impl StructuralPartialEq for Environment_variable_type
Auto Trait Implementations§
impl Freeze for Environment_variable_type
impl RefUnwindSafe for Environment_variable_type
impl Send for Environment_variable_type
impl Sync for Environment_variable_type
impl Unpin for Environment_variable_type
impl UnwindSafe for Environment_variable_type
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