pub struct UIHandlePendingAutoModeSwitchRequest {
pub request_id: RequestId,
pub response: UIAutoModeSwitchResponse,
}Expand description
Request ID of a pending auto_mode_switch.requested event and the user’s response.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§request_id: RequestIdThe unique request ID from the auto_mode_switch.requested event
response: UIAutoModeSwitchResponseUser’s choice for auto-mode switching: yes (allow this turn), yes_always (allow + persist as setting), or no (decline).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UIHandlePendingAutoModeSwitchRequest
impl<'de> Deserialize<'de> for UIHandlePendingAutoModeSwitchRequest
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 UIHandlePendingAutoModeSwitchRequest
impl RefUnwindSafe for UIHandlePendingAutoModeSwitchRequest
impl Send for UIHandlePendingAutoModeSwitchRequest
impl Sync for UIHandlePendingAutoModeSwitchRequest
impl Unpin for UIHandlePendingAutoModeSwitchRequest
impl UnsafeUnpin for UIHandlePendingAutoModeSwitchRequest
impl UnwindSafe for UIHandlePendingAutoModeSwitchRequest
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