pub struct ElementRequest {
pub op: ElementOp,
pub index: u32,
pub require_visible: bool,
pub app: Option<String>,
pub window: Option<String>,
pub session: Option<String>,
pub tier: Option<String>,
pub allow_foreground: bool,
pub require_background: bool,
pub no_overlay: bool,
}Expand description
Shared fields for one element command.
Fields§
§op: ElementOpAction to run after revalidation.
index: u32Index in the cached revision.
require_visible: boolFail when the element is outside the window and scroll fails or is missing.
app: Option<String>Application selector. Empty uses the frontmost app.
window: Option<String>Window selector. Empty uses the key window.
session: Option<String>Session cache namespace.
tier: Option<String>Requested input tier for a center click. Empty is auto.
allow_foreground: boolSkip foreground.lock when a center click uses activate.
require_background: boolDo not fall back to activate for a center click.
no_overlay: boolSkip the overlay helper for a center click.
Trait Implementations§
Source§impl Clone for ElementRequest
impl Clone for ElementRequest
Source§impl Debug for ElementRequest
impl Debug for ElementRequest
impl Eq for ElementRequest
Source§impl PartialEq for ElementRequest
impl PartialEq for ElementRequest
impl StructuralPartialEq for ElementRequest
Auto Trait Implementations§
impl Freeze for ElementRequest
impl RefUnwindSafe for ElementRequest
impl Send for ElementRequest
impl Sync for ElementRequest
impl Unpin for ElementRequest
impl UnsafeUnpin for ElementRequest
impl UnwindSafe for ElementRequest
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.