Enum atspi_common::events::object::Property
source · #[non_exhaustive]pub enum Property {
Name(String),
Description(String),
Role(Role),
Parent(ObjectRef),
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(ObjectRef)
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<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 From<Property> for OwnedValue
impl From<Property> for OwnedValue
source§impl PartialEq for Property
impl PartialEq for Property
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.
impl StructuralPartialEq for Property
Auto Trait Implementations§
impl Freeze for Property
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>
source§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.