pub struct Subject {
pub name: Option<String>,
pub bundle_id: Option<String>,
pub path: Option<String>,
pub pid: Option<i32>,
pub window_id: Option<u32>,
pub window_title: Option<String>,
pub ax_identifier: Option<String>,
}Expand description
Resolved target passed to decide.
Fields§
§name: Option<String>Localized name.
bundle_id: Option<String>Bundle id.
path: Option<String>Executable path. decide canonicalizes it.
pid: Option<i32>Process id.
window_id: Option<u32>Window id when one was targeted.
window_title: Option<String>Targeted window title. Used for the System Settings privacy rule.
ax_identifier: Option<String>Accessibility identifier of the targeted window.
Trait Implementations§
impl Eq for Subject
impl StructuralPartialEq for Subject
Auto Trait Implementations§
impl Freeze for Subject
impl RefUnwindSafe for Subject
impl Send for Subject
impl Sync for Subject
impl Unpin for Subject
impl UnsafeUnpin for Subject
impl UnwindSafe for Subject
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.