Enum atspi_proxies::events::object::Property
source · pub enum Property {
Name(String),
Description(String),
Role(Role),
Parent(Accessible),
TableCaption(String),
TableColumnDescription(String),
TableColumnHeader(String),
TableRowDescription(String),
TableRowHeader(String),
TableSummary(String),
Other((String, OwnedValue)),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Name(String)
Description(String)
Role(Role)
Parent(Accessible)
TableCaption(String)
TableColumnDescription(String)
TableColumnHeader(String)
TableRowDescription(String)
TableRowHeader(String)
TableSummary(String)
Other((String, OwnedValue))
Trait Implementations§
source§impl<'de> Deserialize<'de> for Property
impl<'de> Deserialize<'de> for Property
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Property, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<Property, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Property> for Property
impl PartialEq<Property> for Property
source§impl Serialize for Property
impl Serialize for Property
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl TryFrom<EventBodyOwned> for Property
impl TryFrom<EventBodyOwned> for Property
§type Error = AtspiError
type Error = AtspiError
The type returned in the event of a conversion error.
source§fn try_from(
body: EventBodyOwned
) -> Result<Property, <Property as TryFrom<EventBodyOwned>>::Error>
fn try_from( body: EventBodyOwned ) -> Result<Property, <Property as TryFrom<EventBodyOwned>>::Error>
Performs the conversion.
impl StructuralPartialEq for Property
Auto Trait Implementations§
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnwindSafe for Property
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> 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>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.