pub struct PermissionFix {
pub permission: String,
pub url: String,
pub target: String,
pub instruction: String,
}Expand description
One missing permission and the Settings pane that grants it.
Fields§
§permission: StringStable id: accessibility, screen_recording, post_events, or input_monitoring.
url: Stringx-apple.systempreferences: URL for that pane.
target: StringApp or binary the user enables in that pane.
instruction: StringOne-line instruction.
Trait Implementations§
Source§impl Clone for PermissionFix
impl Clone for PermissionFix
Source§impl Debug for PermissionFix
impl Debug for PermissionFix
impl Eq for PermissionFix
Source§impl PartialEq for PermissionFix
impl PartialEq for PermissionFix
Source§impl Serialize for PermissionFix
impl Serialize for PermissionFix
impl StructuralPartialEq for PermissionFix
Auto Trait Implementations§
impl Freeze for PermissionFix
impl RefUnwindSafe for PermissionFix
impl Send for PermissionFix
impl Sync for PermissionFix
impl Unpin for PermissionFix
impl UnsafeUnpin for PermissionFix
impl UnwindSafe for PermissionFix
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.