pub struct SessionPermissionsChangedData {
pub assisted_approval_model: Option<String>,
pub mode: PermissionMode,
pub previous_mode: PermissionMode,
}Expand description
Session event “session.permissions_changed”. Permission-mode transition details.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§assisted_approval_model: Option<String>Explicit LLM judge model override used by assisted mode; omitted when the provider default applies
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
mode: PermissionModePermission mode after the change
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
previous_mode: PermissionModePermission mode before the change
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Trait Implementations§
Source§impl Clone for SessionPermissionsChangedData
impl Clone for SessionPermissionsChangedData
Source§fn clone(&self) -> SessionPermissionsChangedData
fn clone(&self) -> SessionPermissionsChangedData
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more