#[non_exhaustive]pub struct ComputerUseApp {
pub bundle_id: String,
pub name: Option<String>,
pub choice: ComputerUseAppChoice,
pub locked: bool,
pub locked_by: Option<ComputerUseAppLock>,
pub last_asked_at: Option<String>,
}Expand description
One row of the Settings apps list.
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.bundle_id: StringThe app’s bundle ID: the stored key.
name: Option<String>The name the approval card shows for it, else the name stored with its grant or its last card; absent when there is none.
choice: ComputerUseAppChoiceThe choice as it applies: a block wins over a grant.
locked: boolSettings can’t change this row; its choice is blocked. Omitted
means false.
locked_by: Option<ComputerUseAppLock>Why the row is locked, when it is.
last_asked_at: Option<String>When Computer Use last showed an approval card for the app, RFC3339 UTC; absent when it never has.
Trait Implementations§
Source§impl Clone for ComputerUseApp
impl Clone for ComputerUseApp
Source§impl Debug for ComputerUseApp
impl Debug for ComputerUseApp
Source§impl<'de> Deserialize<'de> for ComputerUseApp
impl<'de> Deserialize<'de> for ComputerUseApp
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 ComputerUseApp
Source§impl PartialEq for ComputerUseApp
impl PartialEq for ComputerUseApp
Source§impl Serialize for ComputerUseApp
impl Serialize for ComputerUseApp
impl StructuralPartialEq for ComputerUseApp
Auto Trait Implementations§
impl Forget for ComputerUseApp
impl Freeze for ComputerUseApp
impl Move for ComputerUseApp
impl RefUnwindSafe for ComputerUseApp
impl Send for ComputerUseApp
impl Sync for ComputerUseApp
impl Unpin for ComputerUseApp
impl UnsafeUnpin for ComputerUseApp
impl UnwindSafe for ComputerUseApp
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