#[non_exhaustive]pub struct ComputerUseBlockedApp {
pub bundle_id: String,
pub locked: bool,
pub prefix: bool,
}Expand description
One row of the Settings blocked-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, or the family prefix when prefix is true.
locked: boolA built-in block, which Settings cannot remove.
prefix: boolA built-in family row: it blocks every bundle ID that starts with
bundleId. Omitted means false; only locked rows are prefixes.
Trait Implementations§
Source§impl Clone for ComputerUseBlockedApp
impl Clone for ComputerUseBlockedApp
Source§impl Debug for ComputerUseBlockedApp
impl Debug for ComputerUseBlockedApp
Source§impl<'de> Deserialize<'de> for ComputerUseBlockedApp
impl<'de> Deserialize<'de> for ComputerUseBlockedApp
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 ComputerUseBlockedApp
Source§impl PartialEq for ComputerUseBlockedApp
impl PartialEq for ComputerUseBlockedApp
Source§impl Serialize for ComputerUseBlockedApp
impl Serialize for ComputerUseBlockedApp
impl StructuralPartialEq for ComputerUseBlockedApp
Auto Trait Implementations§
impl Forget for ComputerUseBlockedApp
impl Freeze for ComputerUseBlockedApp
impl Move for ComputerUseBlockedApp
impl RefUnwindSafe for ComputerUseBlockedApp
impl Send for ComputerUseBlockedApp
impl Sync for ComputerUseBlockedApp
impl Unpin for ComputerUseBlockedApp
impl UnsafeUnpin for ComputerUseBlockedApp
impl UnwindSafe for ComputerUseBlockedApp
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