pub struct PermissionsResetSessionApprovalsRequest {
pub include_location: Option<bool>,
}Expand description
Clears session-scoped tool approvals and optionally clears location-scoped approvals and exact session-approved paths.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§include_location: Option<bool>Whether location-scoped approvals and exact session-approved paths are cleared too. Defaults to true.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PermissionsResetSessionApprovalsRequest
impl<'de> Deserialize<'de> for PermissionsResetSessionApprovalsRequest
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 PermissionsResetSessionApprovalsRequest
impl RefUnwindSafe for PermissionsResetSessionApprovalsRequest
impl Send for PermissionsResetSessionApprovalsRequest
impl Sync for PermissionsResetSessionApprovalsRequest
impl Unpin for PermissionsResetSessionApprovalsRequest
impl UnsafeUnpin for PermissionsResetSessionApprovalsRequest
impl UnwindSafe for PermissionsResetSessionApprovalsRequest
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