pub struct ShellEnvironmentSnapshot { /* private fields */ }Expand description
Dedicated configured shell environment supplied only to authorized tool calls.
Implementations§
Source§impl ShellEnvironmentSnapshot
impl ShellEnvironmentSnapshot
Sourcepub const fn environment(&self) -> &BTreeMap<String, String>
pub const fn environment(&self) -> &BTreeMap<String, String>
Return configured shell environment values.
Trait Implementations§
Source§impl Clone for ShellEnvironmentSnapshot
impl Clone for ShellEnvironmentSnapshot
Source§fn clone(&self) -> ShellEnvironmentSnapshot
fn clone(&self) -> ShellEnvironmentSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ShellEnvironmentSnapshot
impl Debug for ShellEnvironmentSnapshot
Source§impl Default for ShellEnvironmentSnapshot
impl Default for ShellEnvironmentSnapshot
Source§fn default() -> ShellEnvironmentSnapshot
fn default() -> ShellEnvironmentSnapshot
Returns the “default value” for a type. Read more
impl Eq for ShellEnvironmentSnapshot
Source§impl PartialEq for ShellEnvironmentSnapshot
impl PartialEq for ShellEnvironmentSnapshot
impl StructuralPartialEq for ShellEnvironmentSnapshot
Auto Trait Implementations§
impl Freeze for ShellEnvironmentSnapshot
impl RefUnwindSafe for ShellEnvironmentSnapshot
impl Send for ShellEnvironmentSnapshot
impl Sync for ShellEnvironmentSnapshot
impl Unpin for ShellEnvironmentSnapshot
impl UnsafeUnpin for ShellEnvironmentSnapshot
impl UnwindSafe for ShellEnvironmentSnapshot
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