pub struct ShellDefaults {
pub program: String,
pub timeout_secs: u64,
pub security_mode: SecurityMode,
pub security_patterns: Vec<String>,
}Expand description
Shell defaults configured at the config layer.
Fields§
§program: String§timeout_secs: u64§security_mode: SecurityModeSecurity mode: unrestricted, allow_list, deny_list
security_patterns: Vec<String>Patterns for allow/deny lists (glob format)
Trait Implementations§
Source§impl Clone for ShellDefaults
impl Clone for ShellDefaults
Source§fn clone(&self) -> ShellDefaults
fn clone(&self) -> ShellDefaults
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 ShellDefaults
impl Debug for ShellDefaults
Source§impl Default for ShellDefaults
impl Default for ShellDefaults
Source§impl<'de> Deserialize<'de> for ShellDefaults
impl<'de> Deserialize<'de> for ShellDefaults
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
Source§impl PartialEq for ShellDefaults
impl PartialEq for ShellDefaults
Source§impl Serialize for ShellDefaults
impl Serialize for ShellDefaults
impl StructuralPartialEq for ShellDefaults
Auto Trait Implementations§
impl Freeze for ShellDefaults
impl RefUnwindSafe for ShellDefaults
impl Send for ShellDefaults
impl Sync for ShellDefaults
impl Unpin for ShellDefaults
impl UnsafeUnpin for ShellDefaults
impl UnwindSafe for ShellDefaults
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