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: OwnedObjectPathTrait Implementations§
Source§impl<'de> Deserialize<'de> for ObjectRef
impl<'de> Deserialize<'de> for ObjectRef
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ObjectRef, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ObjectRef, <__D as Deserializer<'de>>::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§fn from(obj_ref: ObjectRef) -> ActivateEvent
fn from(obj_ref: ObjectRef) -> ActivateEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for ApplicationChangedEvent
impl From<ObjectRef> for ApplicationChangedEvent
Source§fn from(obj_ref: ObjectRef) -> ApplicationChangedEvent
fn from(obj_ref: ObjectRef) -> ApplicationChangedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for AttributesChangedEvent
impl From<ObjectRef> for AttributesChangedEvent
Source§fn from(obj_ref: ObjectRef) -> AttributesChangedEvent
fn from(obj_ref: ObjectRef) -> AttributesChangedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for AttributesChangedEvent
impl From<ObjectRef> for AttributesChangedEvent
Source§fn from(obj_ref: ObjectRef) -> AttributesChangedEvent
fn from(obj_ref: ObjectRef) -> AttributesChangedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for BoundsChangedEvent
impl From<ObjectRef> for BoundsChangedEvent
Source§fn from(obj_ref: ObjectRef) -> BoundsChangedEvent
fn from(obj_ref: ObjectRef) -> BoundsChangedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for CharWidthChangedEvent
impl From<ObjectRef> for CharWidthChangedEvent
Source§fn from(obj_ref: ObjectRef) -> CharWidthChangedEvent
fn from(obj_ref: ObjectRef) -> CharWidthChangedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for CloseEvent
impl From<ObjectRef> for CloseEvent
Source§fn from(obj_ref: ObjectRef) -> CloseEvent
fn from(obj_ref: ObjectRef) -> CloseEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for ColumnCountChangedEvent
impl From<ObjectRef> for ColumnCountChangedEvent
Source§fn from(obj_ref: ObjectRef) -> ColumnCountChangedEvent
fn from(obj_ref: ObjectRef) -> ColumnCountChangedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for ColumnDeletedEvent
impl From<ObjectRef> for ColumnDeletedEvent
Source§fn from(obj_ref: ObjectRef) -> ColumnDeletedEvent
fn from(obj_ref: ObjectRef) -> ColumnDeletedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for ColumnInsertedEvent
impl From<ObjectRef> for ColumnInsertedEvent
Source§fn from(obj_ref: ObjectRef) -> ColumnInsertedEvent
fn from(obj_ref: ObjectRef) -> ColumnInsertedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for ColumnReorderedEvent
impl From<ObjectRef> for ColumnReorderedEvent
Source§fn from(obj_ref: ObjectRef) -> ColumnReorderedEvent
fn from(obj_ref: ObjectRef) -> ColumnReorderedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for ContentChangedEvent
impl From<ObjectRef> for ContentChangedEvent
Source§fn from(obj_ref: ObjectRef) -> ContentChangedEvent
fn from(obj_ref: ObjectRef) -> ContentChangedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for CreateEvent
impl From<ObjectRef> for CreateEvent
Source§fn from(obj_ref: ObjectRef) -> CreateEvent
fn from(obj_ref: ObjectRef) -> CreateEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for DeactivateEvent
impl From<ObjectRef> for DeactivateEvent
Source§fn from(obj_ref: ObjectRef) -> DeactivateEvent
fn from(obj_ref: ObjectRef) -> DeactivateEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for DesktopCreateEvent
impl From<ObjectRef> for DesktopCreateEvent
Source§fn from(obj_ref: ObjectRef) -> DesktopCreateEvent
fn from(obj_ref: ObjectRef) -> DesktopCreateEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for DesktopDestroyEvent
impl From<ObjectRef> for DesktopDestroyEvent
Source§fn from(obj_ref: ObjectRef) -> DesktopDestroyEvent
fn from(obj_ref: ObjectRef) -> DesktopDestroyEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for DestroyEvent
impl From<ObjectRef> for DestroyEvent
Source§fn from(obj_ref: ObjectRef) -> DestroyEvent
fn from(obj_ref: ObjectRef) -> DestroyEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for FocusEvent
impl From<ObjectRef> for FocusEvent
Source§fn from(obj_ref: ObjectRef) -> FocusEvent
fn from(obj_ref: ObjectRef) -> FocusEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for LineChangedEvent
impl From<ObjectRef> for LineChangedEvent
Source§fn from(obj_ref: ObjectRef) -> LineChangedEvent
fn from(obj_ref: ObjectRef) -> LineChangedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for LineCountChangedEvent
impl From<ObjectRef> for LineCountChangedEvent
Source§fn from(obj_ref: ObjectRef) -> LineCountChangedEvent
fn from(obj_ref: ObjectRef) -> LineCountChangedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for LinkSelectedEvent
impl From<ObjectRef> for LinkSelectedEvent
Source§fn from(obj_ref: ObjectRef) -> LinkSelectedEvent
fn from(obj_ref: ObjectRef) -> LinkSelectedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for LoadCompleteEvent
impl From<ObjectRef> for LoadCompleteEvent
Source§fn from(obj_ref: ObjectRef) -> LoadCompleteEvent
fn from(obj_ref: ObjectRef) -> LoadCompleteEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for LoadStoppedEvent
impl From<ObjectRef> for LoadStoppedEvent
Source§fn from(obj_ref: ObjectRef) -> LoadStoppedEvent
fn from(obj_ref: ObjectRef) -> LoadStoppedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for LowerEvent
impl From<ObjectRef> for LowerEvent
Source§fn from(obj_ref: ObjectRef) -> LowerEvent
fn from(obj_ref: ObjectRef) -> LowerEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for MaximizeEvent
impl From<ObjectRef> for MaximizeEvent
Source§fn from(obj_ref: ObjectRef) -> MaximizeEvent
fn from(obj_ref: ObjectRef) -> MaximizeEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for MinimizeEvent
impl From<ObjectRef> for MinimizeEvent
Source§fn from(obj_ref: ObjectRef) -> MinimizeEvent
fn from(obj_ref: ObjectRef) -> MinimizeEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for ModelChangedEvent
impl From<ObjectRef> for ModelChangedEvent
Source§fn from(obj_ref: ObjectRef) -> ModelChangedEvent
fn from(obj_ref: ObjectRef) -> ModelChangedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for PageChangedEvent
impl From<ObjectRef> for PageChangedEvent
Source§fn from(obj_ref: ObjectRef) -> PageChangedEvent
fn from(obj_ref: ObjectRef) -> PageChangedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for RaiseEvent
impl From<ObjectRef> for RaiseEvent
Source§fn from(obj_ref: ObjectRef) -> RaiseEvent
fn from(obj_ref: ObjectRef) -> RaiseEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for ReloadEvent
impl From<ObjectRef> for ReloadEvent
Source§fn from(obj_ref: ObjectRef) -> ReloadEvent
fn from(obj_ref: ObjectRef) -> ReloadEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for ReparentEvent
impl From<ObjectRef> for ReparentEvent
Source§fn from(obj_ref: ObjectRef) -> ReparentEvent
fn from(obj_ref: ObjectRef) -> ReparentEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for ResizeEvent
impl From<ObjectRef> for ResizeEvent
Source§fn from(obj_ref: ObjectRef) -> ResizeEvent
fn from(obj_ref: ObjectRef) -> ResizeEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for RestoreEvent
impl From<ObjectRef> for RestoreEvent
Source§fn from(obj_ref: ObjectRef) -> RestoreEvent
fn from(obj_ref: ObjectRef) -> RestoreEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for RestyleEvent
impl From<ObjectRef> for RestyleEvent
Source§fn from(obj_ref: ObjectRef) -> RestyleEvent
fn from(obj_ref: ObjectRef) -> RestyleEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for RowDeletedEvent
impl From<ObjectRef> for RowDeletedEvent
Source§fn from(obj_ref: ObjectRef) -> RowDeletedEvent
fn from(obj_ref: ObjectRef) -> RowDeletedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for RowInsertedEvent
impl From<ObjectRef> for RowInsertedEvent
Source§fn from(obj_ref: ObjectRef) -> RowInsertedEvent
fn from(obj_ref: ObjectRef) -> RowInsertedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for RowReorderedEvent
impl From<ObjectRef> for RowReorderedEvent
Source§fn from(obj_ref: ObjectRef) -> RowReorderedEvent
fn from(obj_ref: ObjectRef) -> RowReorderedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for SelectionChangedEvent
impl From<ObjectRef> for SelectionChangedEvent
Source§fn from(obj_ref: ObjectRef) -> SelectionChangedEvent
fn from(obj_ref: ObjectRef) -> SelectionChangedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for ShadeEvent
impl From<ObjectRef> for ShadeEvent
Source§fn from(obj_ref: ObjectRef) -> ShadeEvent
fn from(obj_ref: ObjectRef) -> ShadeEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for TextAttributesChangedEvent
impl From<ObjectRef> for TextAttributesChangedEvent
Source§fn from(obj_ref: ObjectRef) -> TextAttributesChangedEvent
fn from(obj_ref: ObjectRef) -> TextAttributesChangedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for TextBoundsChangedEvent
impl From<ObjectRef> for TextBoundsChangedEvent
Source§fn from(obj_ref: ObjectRef) -> TextBoundsChangedEvent
fn from(obj_ref: ObjectRef) -> TextBoundsChangedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for TextSelectionChangedEvent
impl From<ObjectRef> for TextSelectionChangedEvent
Source§fn from(obj_ref: ObjectRef) -> TextSelectionChangedEvent
fn from(obj_ref: ObjectRef) -> TextSelectionChangedEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for UUshadeEvent
impl From<ObjectRef> for UUshadeEvent
Source§fn from(obj_ref: ObjectRef) -> UUshadeEvent
fn from(obj_ref: ObjectRef) -> UUshadeEvent
Converts to this type from the input type.
Source§impl From<ObjectRef> for VisibleDataChangedEvent
impl From<ObjectRef> for VisibleDataChangedEvent
Source§fn from(obj_ref: ObjectRef) -> VisibleDataChangedEvent
fn from(obj_ref: ObjectRef) -> VisibleDataChangedEvent
Converts to this type from the input type.
Source§impl ObjectRefExt for ObjectRef
impl ObjectRefExt for ObjectRef
Source§async fn as_accessible_proxy(
&self,
conn: &Connection,
) -> Result<AccessibleProxy<'_>, Error>
async fn as_accessible_proxy( &self, conn: &Connection, ) -> Result<AccessibleProxy<'_>, Error>
Source§async fn into_accessible_proxy(
self,
conn: &Connection,
) -> Result<AccessibleProxy<'_>, Error>
async fn into_accessible_proxy( self, conn: &Connection, ) -> Result<AccessibleProxy<'_>, Error>
Source§impl Serialize for ObjectRef
impl Serialize for ObjectRef
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<&AccessibleProxy<'_>> for ObjectRef
impl TryFrom<&AccessibleProxy<'_>> for ObjectRef
Source§type Error = AtspiError
type Error = AtspiError
The type returned in the event of a conversion error.
Source§fn try_from(
proxy: &AccessibleProxy<'_>,
) -> Result<ObjectRef, <ObjectRef as TryFrom<&AccessibleProxy<'_>>>::Error>
fn try_from( proxy: &AccessibleProxy<'_>, ) -> Result<ObjectRef, <ObjectRef as TryFrom<&AccessibleProxy<'_>>>::Error>
Performs the conversion.
Source§impl TryFrom<AccessibleProxy<'_>> for ObjectRef
impl TryFrom<AccessibleProxy<'_>> for ObjectRef
Source§type Error = AtspiError
type Error = AtspiError
The type returned in the event of a conversion error.
Source§fn try_from(
proxy: AccessibleProxy<'_>,
) -> Result<ObjectRef, <ObjectRef as TryFrom<AccessibleProxy<'_>>>::Error>
fn try_from( proxy: AccessibleProxy<'_>, ) -> Result<ObjectRef, <ObjectRef as TryFrom<AccessibleProxy<'_>>>::Error>
Performs the conversion.
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