pub struct TapResult {
pub matched_label: Option<String>,
pub stages: Option<TapStages>,
pub frame: Option<Rect>,
pub app_frame: Option<Rect>,
}Expand description
POST /tap response body.
This struct is the wire contract; the Swift emitter
(TapRoute.success) is gated against it by
tests/tap_route_shape.rs, which failed to exist long enough for the
runner to ship a nested-matched + snake_case body that this struct
silently deserialized to all-None/zero.
Fields§
§matched_label: Option<String>Matched element’s accessibility label (selector text echoed when the label is empty).
stages: Option<TapStages>Per-stage timing breakdown.
frame: Option<Rect>Matched element’s geometric frame, when resolve succeeded.
app_frame: Option<Rect>Application window frame (for normalizing the matched frame).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TapResult
impl<'de> Deserialize<'de> for TapResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TapResult
impl RefUnwindSafe for TapResult
impl Send for TapResult
impl Sync for TapResult
impl Unpin for TapResult
impl UnsafeUnpin for TapResult
impl UnwindSafe for TapResult
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