pub struct ElementOut {
pub ref_id: Option<String>,
pub role: String,
pub name: Option<String>,
pub automation_id: Option<String>,
pub depth: u32,
}Expand description
快照输出元素:可交互元素携带 ref(serde 字段名 ref,与 06 §4 一致)。
Fields§
§ref_id: Option<String>§role: String§name: Option<String>§automation_id: Option<String>§depth: u32Trait Implementations§
Source§impl Clone for ElementOut
impl Clone for ElementOut
Source§impl Debug for ElementOut
impl Debug for ElementOut
Source§impl<'de> Deserialize<'de> for ElementOut
impl<'de> Deserialize<'de> for ElementOut
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
Source§impl PartialEq for ElementOut
impl PartialEq for ElementOut
Source§impl Serialize for ElementOut
impl Serialize for ElementOut
impl StructuralPartialEq for ElementOut
Auto Trait Implementations§
impl Freeze for ElementOut
impl RefUnwindSafe for ElementOut
impl Send for ElementOut
impl Sync for ElementOut
impl Unpin for ElementOut
impl UnsafeUnpin for ElementOut
impl UnwindSafe for ElementOut
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