#[non_exhaustive]pub struct ApprovalCuaBrowser {
pub name: String,
pub first_use: bool,
pub window_consent: bool,
}Expand description
A browser card’s notices: the first time Computer Use uses a browser on this Mac, and the session’s consent before it opens its own window in a browser that comes to the front when it does. A client words each flag itself.
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.name: StringThe browser’s display name.
first_use: boolShow the first-use notice: Computer Use hasn’t used this browser on this Mac before and will act signed in as the person.
window_consent: boolShow the window consent line: Computer Use will open its own window in this browser and bring the browser to the front, once per session.
Trait Implementations§
Source§impl Clone for ApprovalCuaBrowser
impl Clone for ApprovalCuaBrowser
Source§impl Debug for ApprovalCuaBrowser
impl Debug for ApprovalCuaBrowser
Source§impl Default for ApprovalCuaBrowser
impl Default for ApprovalCuaBrowser
Source§impl<'de> Deserialize<'de> for ApprovalCuaBrowser
impl<'de> Deserialize<'de> for ApprovalCuaBrowser
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 ApprovalCuaBrowser
Source§impl PartialEq for ApprovalCuaBrowser
impl PartialEq for ApprovalCuaBrowser
Source§impl Serialize for ApprovalCuaBrowser
impl Serialize for ApprovalCuaBrowser
impl StructuralPartialEq for ApprovalCuaBrowser
Auto Trait Implementations§
impl Forget for ApprovalCuaBrowser
impl Freeze for ApprovalCuaBrowser
impl Move for ApprovalCuaBrowser
impl RefUnwindSafe for ApprovalCuaBrowser
impl Send for ApprovalCuaBrowser
impl Sync for ApprovalCuaBrowser
impl Unpin for ApprovalCuaBrowser
impl UnsafeUnpin for ApprovalCuaBrowser
impl UnwindSafe for ApprovalCuaBrowser
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