pub struct PermissionsSetAllowAllRequest {
pub enabled: Option<bool>,
pub mode: Option<PermissionsAllowAllMode>,
pub model: Option<String>,
pub source: Option<PermissionsSetAllowAllSource>,
}Expand description
Allow-all mode to apply for the session.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§enabled: Option<bool>Legacy full allow-all toggle. Prefer mode; when mode is omitted, enabled: true is treated as mode: "on" and any other value is treated as mode: "off".
mode: Option<PermissionsAllowAllMode>Allow-all mode to apply. on enables full allow-all; auto enables advisory LLM auto-approval; off disables both.
model: Option<String>Optional model id for the auto mode auto-approval LLM judging. Only meaningful when mode is auto; ignored otherwise. When omitted, the session’s active model is used.
source: Option<PermissionsSetAllowAllSource>Optional source for allow-all telemetry. Defaults to rpc when omitted for SDK callers.
Trait Implementations§
Source§impl Clone for PermissionsSetAllowAllRequest
impl Clone for PermissionsSetAllowAllRequest
Source§fn clone(&self) -> PermissionsSetAllowAllRequest
fn clone(&self) -> PermissionsSetAllowAllRequest
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 Default for PermissionsSetAllowAllRequest
impl Default for PermissionsSetAllowAllRequest
Source§fn default() -> PermissionsSetAllowAllRequest
fn default() -> PermissionsSetAllowAllRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PermissionsSetAllowAllRequest
impl<'de> Deserialize<'de> for PermissionsSetAllowAllRequest
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 PermissionsSetAllowAllRequest
impl RefUnwindSafe for PermissionsSetAllowAllRequest
impl Send for PermissionsSetAllowAllRequest
impl Sync for PermissionsSetAllowAllRequest
impl Unpin for PermissionsSetAllowAllRequest
impl UnsafeUnpin for PermissionsSetAllowAllRequest
impl UnwindSafe for PermissionsSetAllowAllRequest
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