pub struct ShellConfig {
pub max_args: usize,
pub max_arg_length: usize,
pub max_output_bytes: usize,
pub forbidden_chars: String,
pub context_aware_parsing: bool,
}Fields§
§max_args: usize§max_arg_length: usize§max_output_bytes: usize§forbidden_chars: String§context_aware_parsing: boolTrait Implementations§
Source§impl Clone for ShellConfig
impl Clone for ShellConfig
Source§fn clone(&self) -> ShellConfig
fn clone(&self) -> ShellConfig
Returns a duplicate 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 ShellConfig
impl Debug for ShellConfig
Source§impl Default for ShellConfig
impl Default for ShellConfig
Source§impl<'de> Deserialize<'de> for ShellConfigwhere
ShellConfig: Default,
impl<'de> Deserialize<'de> for ShellConfigwhere
ShellConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ShellConfig
impl RefUnwindSafe for ShellConfig
impl Send for ShellConfig
impl Sync for ShellConfig
impl Unpin for ShellConfig
impl UnsafeUnpin for ShellConfig
impl UnwindSafe for ShellConfig
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