pub struct SessionLimitsChoice {
pub sandbox_enabled: Option<bool>,
pub sandbox_network: Option<LimitsNetworkMode>,
pub writes_enabled: Option<bool>,
pub shell_enabled: Option<bool>,
pub workspace_trusted: Option<bool>,
}Expand description
The session/start limits choice: every member is optional — a start
names only the axes it chooses. Reports use SessionLimits, whose members
are always present.
Fields§
§sandbox_enabled: Option<bool>Shell filesystem/network sandboxing (--disable-sandbox absent).
sandbox_network: Option<LimitsNetworkMode>Sandbox network policy (--sandbox-network grammar).
writes_enabled: Option<bool>Non-shell workspace filesystem writes (--disable-write absent).
shell_enabled: Option<bool>Workspace shell execution (--disable-shell absent).
workspace_trusted: Option<bool>Loading the workspace’s skills and rules (--trust-workspace).
Trait Implementations§
Source§impl Clone for SessionLimitsChoice
impl Clone for SessionLimitsChoice
Source§impl Debug for SessionLimitsChoice
impl Debug for SessionLimitsChoice
Source§impl Default for SessionLimitsChoice
impl Default for SessionLimitsChoice
Source§impl<'de> Deserialize<'de> for SessionLimitsChoice
impl<'de> Deserialize<'de> for SessionLimitsChoice
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
impl Eq for SessionLimitsChoice
Source§impl PartialEq for SessionLimitsChoice
impl PartialEq for SessionLimitsChoice
Source§impl Serialize for SessionLimitsChoice
impl Serialize for SessionLimitsChoice
impl StructuralPartialEq for SessionLimitsChoice
Auto Trait Implementations§
impl Freeze for SessionLimitsChoice
impl RefUnwindSafe for SessionLimitsChoice
impl Send for SessionLimitsChoice
impl Sync for SessionLimitsChoice
impl Unpin for SessionLimitsChoice
impl UnsafeUnpin for SessionLimitsChoice
impl UnwindSafe for SessionLimitsChoice
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