#[non_exhaustive]pub struct ComputerUseSetupState {
pub setup: ComputerUseSetupPhase,
pub accessibility: ComputerUsePermission,
pub screen_recording: ComputerUsePermission,
pub input_monitoring: ComputerUsePermission,
pub refused: Option<String>,
pub message: Option<String>,
}Expand description
The session’s setup state: the result of both methods and the
computerUseSetup/changed payload’s state.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.setup: ComputerUseSetupPhaseWhere setup stands.
accessibility: ComputerUsePermissionAccessibility.
screen_recording: ComputerUsePermissionScreen Recording.
input_monitoring: ComputerUsePermissionInput Monitoring: computer use is ready without it; some actions need it.
refused: Option<String>The cua_setup refusal code when the call was refused, verbatim.
message: Option<String>The sentence cua_setup gives the user for this answer.
Trait Implementations§
Source§impl Clone for ComputerUseSetupState
impl Clone for ComputerUseSetupState
Source§impl Debug for ComputerUseSetupState
impl Debug for ComputerUseSetupState
Source§impl<'de> Deserialize<'de> for ComputerUseSetupState
impl<'de> Deserialize<'de> for ComputerUseSetupState
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
impl Eq for ComputerUseSetupState
Source§impl PartialEq for ComputerUseSetupState
impl PartialEq for ComputerUseSetupState
Source§impl Serialize for ComputerUseSetupState
impl Serialize for ComputerUseSetupState
impl StructuralPartialEq for ComputerUseSetupState
Auto Trait Implementations§
impl Freeze for ComputerUseSetupState
impl RefUnwindSafe for ComputerUseSetupState
impl Send for ComputerUseSetupState
impl Sync for ComputerUseSetupState
impl Unpin for ComputerUseSetupState
impl UnsafeUnpin for ComputerUseSetupState
impl UnwindSafe for ComputerUseSetupState
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