pub struct AXValueSource {
pub type_: AXValueSourceType,
pub value: Option<AXValue>,
pub attribute: Option<String>,
pub attributeValue: Option<AXValue>,
pub superseded: Option<bool>,
pub nativeSource: Option<AXValueNativeSourceType>,
pub nativeSourceValue: Option<AXValue>,
pub invalid: Option<bool>,
pub invalidReason: Option<String>,
}Expand description
A single source for a computed AX property.
Fields§
§type_: AXValueSourceTypeWhat type of source this is.
value: Option<AXValue>The value of this property source.
attribute: Option<String>The name of the relevant attribute, if any.
attributeValue: Option<AXValue>The value of the relevant attribute, if any.
superseded: Option<bool>Whether this source is superseded by a higher priority source.
nativeSource: Option<AXValueNativeSourceType>The native markup source for this value, e.g. a ‘
nativeSourceValue: Option<AXValue>The value, such as a node or node list, of the native source.
invalid: Option<bool>Whether the value for this property is invalid.
invalidReason: Option<String>Reason for the value being invalid, if it is.
Trait Implementations§
Source§impl Clone for AXValueSource
impl Clone for AXValueSource
Source§fn clone(&self) -> AXValueSource
fn clone(&self) -> AXValueSource
Returns a duplicate of the value. Read more
1.0.0 · 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 AXValueSource
impl Debug for AXValueSource
Source§impl Default for AXValueSource
impl Default for AXValueSource
Source§fn default() -> AXValueSource
fn default() -> AXValueSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AXValueSource
impl<'de> Deserialize<'de> for AXValueSource
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
Auto Trait Implementations§
impl Freeze for AXValueSource
impl RefUnwindSafe for AXValueSource
impl Send for AXValueSource
impl Sync for AXValueSource
impl Unpin for AXValueSource
impl UnsafeUnpin for AXValueSource
impl UnwindSafe for AXValueSource
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