pub struct TargetSpec {
pub css: Option<String>,
pub test_id: Option<String>,
pub role: Option<String>,
pub accessible_name: Option<String>,
pub label: Option<String>,
pub text: Option<TextMatch>,
pub attributes: BTreeMap<String, String>,
pub frame_path: Vec<Box<TargetSpec>>,
pub shadow_path: Vec<Box<TargetSpec>>,
pub ordinal: Option<usize>,
pub allow_best_match: bool,
}Fields§
§css: Option<String>§test_id: Option<String>§role: Option<String>§accessible_name: Option<String>§label: Option<String>§text: Option<TextMatch>§attributes: BTreeMap<String, String>§frame_path: Vec<Box<TargetSpec>>§shadow_path: Vec<Box<TargetSpec>>§ordinal: Option<usize>§allow_best_match: boolTrait Implementations§
Source§impl Clone for TargetSpec
impl Clone for TargetSpec
Source§impl Debug for TargetSpec
impl Debug for TargetSpec
Source§impl Default for TargetSpec
impl Default for TargetSpec
Source§impl<'de> Deserialize<'de> for TargetSpec
impl<'de> Deserialize<'de> for TargetSpec
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
impl Eq for TargetSpec
Source§impl PartialEq for TargetSpec
impl PartialEq for TargetSpec
Source§impl Serialize for TargetSpec
impl Serialize for TargetSpec
impl StructuralPartialEq for TargetSpec
Auto Trait Implementations§
impl Freeze for TargetSpec
impl RefUnwindSafe for TargetSpec
impl Send for TargetSpec
impl Sync for TargetSpec
impl Unpin for TargetSpec
impl UnsafeUnpin for TargetSpec
impl UnwindSafe for TargetSpec
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