pub struct ShellVar {
pub value: String,
pub export: bool,
pub readonly: bool,
}Expand description
A shell variable with metadata.
Fields§
§value: StringThe variable’s value.
export: boolWhether the variable is exported to child processes.
readonly: boolWhether the variable is read-only.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ShellVar
impl RefUnwindSafe for ShellVar
impl Send for ShellVar
impl Sync for ShellVar
impl Unpin for ShellVar
impl UnsafeUnpin for ShellVar
impl UnwindSafe for ShellVar
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