pub struct SessionPermissionsChangedData {
pub allow_all_permission_mode: Option<PermissionAllowAllMode>,
pub allow_all_permissions: bool,
pub previous_allow_all_permission_mode: Option<PermissionAllowAllMode>,
pub previous_allow_all_permissions: bool,
}Expand description
Session event “session.permissions_changed”. Permissions change details carrying the aggregate allow-all transition.
Fields§
§allow_all_permission_mode: Option<PermissionAllowAllMode>Allow-all 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.
allow_all_permissions: boolAggregate allow-all flag after the change
previous_allow_all_permission_mode: Option<PermissionAllowAllMode>Allow-all 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.
previous_allow_all_permissions: boolAggregate allow-all flag before the change
Trait Implementations§
Source§impl Clone for SessionPermissionsChangedData
impl Clone for SessionPermissionsChangedData
Source§fn clone(&self) -> SessionPermissionsChangedData
fn clone(&self) -> SessionPermissionsChangedData
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 SessionPermissionsChangedData
impl Default for SessionPermissionsChangedData
Source§fn default() -> SessionPermissionsChangedData
fn default() -> SessionPermissionsChangedData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionPermissionsChangedData
impl<'de> Deserialize<'de> for SessionPermissionsChangedData
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 SessionPermissionsChangedData
impl RefUnwindSafe for SessionPermissionsChangedData
impl Send for SessionPermissionsChangedData
impl Sync for SessionPermissionsChangedData
impl Unpin for SessionPermissionsChangedData
impl UnsafeUnpin for SessionPermissionsChangedData
impl UnwindSafe for SessionPermissionsChangedData
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