pub struct DoctorReport {Show 20 fields
pub permissions_ok: bool,
pub missing: Vec<String>,
pub accessibility: Option<bool>,
pub screen_capture: Option<bool>,
pub screen_recording: Option<bool>,
pub post_events: Option<bool>,
pub input_monitoring: Option<bool>,
pub input_monitor: Option<bool>,
pub bundle_id: Option<String>,
pub identity: DoctorIdentity,
pub responsible_app: Option<ResponsibleApp>,
pub fix: Vec<PermissionFix>,
pub fixes: Vec<String>,
pub session: Option<String>,
pub atspi_bus: Option<bool>,
pub portal: Option<bool>,
pub uiaccess: Option<bool>,
pub integrity: Option<String>,
pub text: String,
pub note: Option<String>,
}Expand description
doctor report. Null probes mean this OS does not check them yet.
The response envelope’s ok means the report was produced (exit 0).
Self::permissions_ok is the permission aggregate.
Fields§
§permissions_ok: boolTrue when every required permission this OS checks is granted.
missing: Vec<String>Required permissions that are not granted. Null probes are omitted.
accessibility: Option<bool>Accessibility trust. Null until the platform probe exists.
screen_capture: Option<bool>Screen Recording preflight. Same value as screen_recording.
screen_recording: Option<bool>Screen Recording preflight. Same value as screen_capture.
post_events: Option<bool>CGPreflightPostEventAccess. Null off macOS.
input_monitoring: Option<bool>CGPreflightListenEventAccess. Not the P6 event tap.
input_monitor: Option<bool>P6 event tap created in this process. Null when it was not attempted.
bundle_id: Option<String>Running binary’s bundle id. Null for a bare binary. Same as identity.bundle_id.
identity: DoctorIdentityPath, bundle, signature, and the TCC responsible app.
responsible_app: Option<ResponsibleApp>Parent GUI app that must be toggled in Settings, when it could be found.
fix: Vec<PermissionFix>Structured fix for each entry in missing, in the same order.
fixes: Vec<String>One-line instructions. Same order and text as fix[].instruction.
session: Option<String>Linux x11, wayland, or x11+wayland. Null when it does not apply or is unset.
atspi_bus: Option<bool>Linux AT-SPI bus address is present. Not a connection. Null when not checked.
portal: Option<bool>Linux XDG portal support is compiled in. Compile-time capability, not a running portal. Null when not checked.
uiaccess: Option<bool>Windows UIAccess on this process. Best effort. Null when not read.
integrity: Option<String>Windows integrity label. Best effort. Null when not read.
text: StringReadable summary of this report.
note: Option<String>Extra context. Omitted when empty.
Implementations§
Trait Implementations§
Source§impl Clone for DoctorReport
impl Clone for DoctorReport
Source§impl Debug for DoctorReport
impl Debug for DoctorReport
impl Eq for DoctorReport
Source§impl PartialEq for DoctorReport
impl PartialEq for DoctorReport
Source§impl Serialize for DoctorReport
impl Serialize for DoctorReport
impl StructuralPartialEq for DoctorReport
Auto Trait Implementations§
impl Freeze for DoctorReport
impl RefUnwindSafe for DoctorReport
impl Send for DoctorReport
impl Sync for DoctorReport
impl Unpin for DoctorReport
impl UnsafeUnpin for DoctorReport
impl UnwindSafe for DoctorReport
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
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
key and return true if they are equal.