pub struct TargetEvidence {Show 14 fields
pub platform: String,
pub app_id: String,
pub pid: Option<u32>,
pub window_id: Option<Value>,
pub window_title_digest: Option<String>,
pub display_id: Option<String>,
pub role: Option<String>,
pub label_digest: Option<String>,
pub bounds: Option<Bounds>,
pub observation_id: String,
pub screenshot_hash: Option<String>,
pub ui_tree_revision: Option<String>,
pub confidence: f64,
pub captured_at: String,
}Expand description
Evidence binding an action to a fresh desktop observation.
Fields§
§platform: StringPlatform identifier for the observed target (e.g. darwin, windows).
app_id: StringApplication/bundle identifier of the observed target.
pid: Option<u32>Process identifier of the observed target, when known.
window_id: Option<Value>Platform-specific window identifier, when known.
window_title_digest: Option<String>Digest of the window title (never the raw title).
display_id: Option<String>Display identifier hosting the target, when known.
role: Option<String>Accessibility role of the target element, when known.
label_digest: Option<String>Digest of the element label (never the raw label).
bounds: Option<Bounds>Bounding box of the target element, when known.
observation_id: StringIdentifier of the observation frame this evidence came from.
screenshot_hash: Option<String>Hash of the screenshot backing this observation, when captured.
ui_tree_revision: Option<String>Revision of the UI tree backing this observation, when captured.
confidence: f64Observation confidence in 0.0..=1.0.
captured_at: StringRFC 3339 timestamp of the observation.
Trait Implementations§
Source§impl Clone for TargetEvidence
impl Clone for TargetEvidence
Source§fn clone(&self) -> TargetEvidence
fn clone(&self) -> TargetEvidence
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more