pub struct FocusElement {
pub platform_identifier: String,
pub estimated_uid: String,
pub caption: Option<String>,
pub spoken_description: Option<String>,
}Fields§
§platform_identifier: String§estimated_uid: String§caption: Option<String>§spoken_description: Option<String>Implementations§
Source§impl FocusElement
impl FocusElement
pub fn from_event_payload( payload: &JsonValue, ) -> Result<Self, AccessibilityAuditError>
Trait Implementations§
Source§impl Clone for FocusElement
impl Clone for FocusElement
Source§fn clone(&self) -> FocusElement
fn clone(&self) -> FocusElement
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 FocusElement
impl Debug for FocusElement
Source§impl PartialEq for FocusElement
impl PartialEq for FocusElement
Source§fn eq(&self, other: &FocusElement) -> bool
fn eq(&self, other: &FocusElement) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FocusElement
impl Serialize for FocusElement
impl Eq for FocusElement
impl StructuralPartialEq for FocusElement
Auto Trait Implementations§
impl Freeze for FocusElement
impl RefUnwindSafe for FocusElement
impl Send for FocusElement
impl Sync for FocusElement
impl Unpin for FocusElement
impl UnsafeUnpin for FocusElement
impl UnwindSafe for FocusElement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.