pub struct ObservedElement {
pub index: usize,
pub selector: String,
pub text: String,
pub role: Option<String>,
pub tag: String,
pub visible: bool,
pub disabled: bool,
pub checked: bool,
pub placeholder: Option<String>,
pub input_type: Option<String>,
pub value: Option<String>,
pub bbox: ElementBox,
}Fields§
§index: usize§selector: String§text: String§role: Option<String>§tag: String§visible: bool§disabled: bool§checked: bool§placeholder: Option<String>§input_type: Option<String>§value: Option<String>§bbox: ElementBoxTrait Implementations§
Source§impl Clone for ObservedElement
impl Clone for ObservedElement
Source§impl Debug for ObservedElement
impl Debug for ObservedElement
Source§impl<'de> Deserialize<'de> for ObservedElement
impl<'de> Deserialize<'de> for ObservedElement
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 JsonSchema for ObservedElement
impl JsonSchema for ObservedElement
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Forget for ObservedElement
impl Freeze for ObservedElement
impl Move for ObservedElement
impl RefUnwindSafe for ObservedElement
impl Send for ObservedElement
impl Sync for ObservedElement
impl Unpin for ObservedElement
impl UnsafeUnpin for ObservedElement
impl UnwindSafe for ObservedElement
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