pub struct PermissionsSetRequiredRequest {
pub required: bool,
}Expand description
Toggles whether permission prompts should be bridged into session events for this client.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§required: boolWhether the client wants permission.requested events bridged from the session-owned permission service. CLI clients that render prompt UI set this to true for as long as their listener is mounted; headless callers leave it unset (the default is false).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PermissionsSetRequiredRequest
impl<'de> Deserialize<'de> for PermissionsSetRequiredRequest
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 PermissionsSetRequiredRequest
impl RefUnwindSafe for PermissionsSetRequiredRequest
impl Send for PermissionsSetRequiredRequest
impl Sync for PermissionsSetRequiredRequest
impl Unpin for PermissionsSetRequiredRequest
impl UnsafeUnpin for PermissionsSetRequiredRequest
impl UnwindSafe for PermissionsSetRequiredRequest
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