pub struct CompactInteractiveElement {
pub reference: String,
pub role: String,
pub name: String,
pub backend_dom_node_id: i64,
pub shadow_host_path: Option<Vec<String>>,
pub input_type: Option<String>,
pub value: Option<String>,
pub checked: Option<bool>,
pub selected_option: Option<String>,
pub empty: bool,
pub read_only: bool,
pub required: bool,
/* private fields */
}Expand description
A bounded interactive control included in a compact observation.
Fields§
§reference: String§role: String§name: String§backend_dom_node_id: i64§shadow_host_path: Option<Vec<String>>Role+name breadcrumbs for shadow-host ancestry (max 3 entries, 64 bytes each).
input_type: Option<String>HTML input type for form controls (text, email, password, checkbox, etc.).
value: Option<String>Current value of the form control, bounded to 256 bytes. Redacted for passwords.
checked: Option<bool>Checked state for checkbox/radio controls.
selected_option: Option<String>Selected option label for <select> elements, bounded to 128 bytes.
empty: boolWhether the field is empty (no user input).
read_only: boolWhether the field is read-only.
required: boolWhether the field has the required attribute.
Trait Implementations§
Source§impl Clone for CompactInteractiveElement
impl Clone for CompactInteractiveElement
Source§fn clone(&self) -> CompactInteractiveElement
fn clone(&self) -> CompactInteractiveElement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompactInteractiveElement
impl Debug for CompactInteractiveElement
Auto Trait Implementations§
impl Freeze for CompactInteractiveElement
impl RefUnwindSafe for CompactInteractiveElement
impl Send for CompactInteractiveElement
impl Sync for CompactInteractiveElement
impl Unpin for CompactInteractiveElement
impl UnsafeUnpin for CompactInteractiveElement
impl UnwindSafe for CompactInteractiveElement
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more