pub struct ObjectRef {
pub name: OwnedUniqueName,
pub path: OwnedObjectPath,
}
Expand description
ObjectRef
type
A ubiquitous type used to refer to an object in the accessibility tree.
In AT-SPI2, objects in the applications’ UI object tree are uniquely identified using a server name and object path. “(so)”
Emitted by RemoveAccessible
and Available
Fields§
§name: OwnedUniqueName
§path: OwnedObjectPath
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ObjectRef
impl<'de> Deserialize<'de> for ObjectRef
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<ObjectRef> for ActivateEvent
impl From<ObjectRef> for ActivateEvent
Source§impl From<ObjectRef> for ApplicationChangedEvent
impl From<ObjectRef> for ApplicationChangedEvent
Source§impl From<ObjectRef> for AttributesChangedEvent
impl From<ObjectRef> for AttributesChangedEvent
Source§impl From<ObjectRef> for AttributesChangedEvent
impl From<ObjectRef> for AttributesChangedEvent
Source§impl From<ObjectRef> for BoundsChangedEvent
impl From<ObjectRef> for BoundsChangedEvent
Source§impl From<ObjectRef> for CharWidthChangedEvent
impl From<ObjectRef> for CharWidthChangedEvent
Source§impl From<ObjectRef> for CloseEvent
impl From<ObjectRef> for CloseEvent
Source§impl From<ObjectRef> for ColumnCountChangedEvent
impl From<ObjectRef> for ColumnCountChangedEvent
Source§impl From<ObjectRef> for ColumnDeletedEvent
impl From<ObjectRef> for ColumnDeletedEvent
Source§impl From<ObjectRef> for ColumnInsertedEvent
impl From<ObjectRef> for ColumnInsertedEvent
Source§impl From<ObjectRef> for ColumnReorderedEvent
impl From<ObjectRef> for ColumnReorderedEvent
Source§impl From<ObjectRef> for ContentChangedEvent
impl From<ObjectRef> for ContentChangedEvent
Source§impl From<ObjectRef> for CreateEvent
impl From<ObjectRef> for CreateEvent
Source§impl From<ObjectRef> for DeactivateEvent
impl From<ObjectRef> for DeactivateEvent
Source§impl From<ObjectRef> for DesktopCreateEvent
impl From<ObjectRef> for DesktopCreateEvent
Source§impl From<ObjectRef> for DesktopDestroyEvent
impl From<ObjectRef> for DesktopDestroyEvent
Source§impl From<ObjectRef> for DestroyEvent
impl From<ObjectRef> for DestroyEvent
Source§impl From<ObjectRef> for FocusEvent
impl From<ObjectRef> for FocusEvent
Source§impl From<ObjectRef> for LineChangedEvent
impl From<ObjectRef> for LineChangedEvent
Source§impl From<ObjectRef> for LineCountChangedEvent
impl From<ObjectRef> for LineCountChangedEvent
Source§impl From<ObjectRef> for LinkSelectedEvent
impl From<ObjectRef> for LinkSelectedEvent
Source§impl From<ObjectRef> for LoadCompleteEvent
impl From<ObjectRef> for LoadCompleteEvent
Source§impl From<ObjectRef> for LoadStoppedEvent
impl From<ObjectRef> for LoadStoppedEvent
Source§impl From<ObjectRef> for LowerEvent
impl From<ObjectRef> for LowerEvent
Source§impl From<ObjectRef> for MaximizeEvent
impl From<ObjectRef> for MaximizeEvent
Source§impl From<ObjectRef> for MinimizeEvent
impl From<ObjectRef> for MinimizeEvent
Source§impl From<ObjectRef> for ModelChangedEvent
impl From<ObjectRef> for ModelChangedEvent
Source§impl From<ObjectRef> for PageChangedEvent
impl From<ObjectRef> for PageChangedEvent
Source§impl From<ObjectRef> for RaiseEvent
impl From<ObjectRef> for RaiseEvent
Source§impl From<ObjectRef> for ReloadEvent
impl From<ObjectRef> for ReloadEvent
Source§impl From<ObjectRef> for ReparentEvent
impl From<ObjectRef> for ReparentEvent
Source§impl From<ObjectRef> for ResizeEvent
impl From<ObjectRef> for ResizeEvent
Source§impl From<ObjectRef> for RestoreEvent
impl From<ObjectRef> for RestoreEvent
Source§impl From<ObjectRef> for RestyleEvent
impl From<ObjectRef> for RestyleEvent
Source§impl From<ObjectRef> for RowDeletedEvent
impl From<ObjectRef> for RowDeletedEvent
Source§impl From<ObjectRef> for RowInsertedEvent
impl From<ObjectRef> for RowInsertedEvent
Source§impl From<ObjectRef> for RowReorderedEvent
impl From<ObjectRef> for RowReorderedEvent
Source§impl From<ObjectRef> for SelectionChangedEvent
impl From<ObjectRef> for SelectionChangedEvent
Source§impl From<ObjectRef> for ShadeEvent
impl From<ObjectRef> for ShadeEvent
Source§impl From<ObjectRef> for TextAttributesChangedEvent
impl From<ObjectRef> for TextAttributesChangedEvent
Source§impl From<ObjectRef> for TextBoundsChangedEvent
impl From<ObjectRef> for TextBoundsChangedEvent
Source§impl From<ObjectRef> for TextSelectionChangedEvent
impl From<ObjectRef> for TextSelectionChangedEvent
Source§impl From<ObjectRef> for UUshadeEvent
impl From<ObjectRef> for UUshadeEvent
Source§impl From<ObjectRef> for VisibleDataChangedEvent
impl From<ObjectRef> for VisibleDataChangedEvent
Source§impl TryFrom<OwnedValue> for ObjectRef
impl TryFrom<OwnedValue> for ObjectRef
impl Eq for ObjectRef
impl StructuralPartialEq for ObjectRef
Auto Trait Implementations§
impl Freeze for ObjectRef
impl RefUnwindSafe for ObjectRef
impl Send for ObjectRef
impl Sync for ObjectRef
impl Unpin for ObjectRef
impl UnwindSafe for ObjectRef
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<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.
Source§impl<T> DynamicType for T
impl<T> DynamicType for T
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> MessageConversionExt<ObjectRef> for Twhere
T: MessageConversion<Body = ObjectRef>,
impl<T> MessageConversionExt<ObjectRef> for Twhere
T: MessageConversion<Body = ObjectRef>,
Source§fn try_from_message(msg: &Message) -> Result<T, AtspiError>
fn try_from_message(msg: &Message) -> Result<T, AtspiError>
Convert a
zbus::Message
into this event type.
Does all the validation for you. Read moreSource§fn validate_interface(msg: &Message) -> Result<(), AtspiError>
fn validate_interface(msg: &Message) -> Result<(), AtspiError>
Validate the interface string via
zbus::message::Header::interface
against Self
’s assignment of BusProperties::DBUS_INTERFACE
Read moreSource§fn validate_member(msg: &Message) -> Result<(), AtspiError>
fn validate_member(msg: &Message) -> Result<(), AtspiError>
Validate the member string via
zbus::message::Header::member
against Self
’s assignment of BusProperties::DBUS_MEMBER
Read more