pub struct ShellToolBuilder(/* private fields */);Expand description
Builder for ShellTool.
Implementations§
Source§impl ShellToolBuilder
impl ShellToolBuilder
pub fn allowed_callers( self, value: impl Into<Option<Vec<AllowedCaller>>>, ) -> Self
pub fn environment(self, value: impl Into<Option<ShellEnvironment>>) -> Self
pub fn rest(self, value: Rest) -> Self
Auto Trait Implementations§
impl Freeze for ShellToolBuilder
impl RefUnwindSafe for ShellToolBuilder
impl Send for ShellToolBuilder
impl Sync for ShellToolBuilder
impl Unpin for ShellToolBuilder
impl UnsafeUnpin for ShellToolBuilder
impl UnwindSafe for ShellToolBuilder
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