pub struct LegacyCacheItem {
pub object: ObjectRefOwned,
pub app: ObjectRefOwned,
pub parent: ObjectRefOwned,
pub children: Vec<ObjectRefOwned>,
pub ifaces: InterfaceSet,
pub short_name: String,
pub role: Role,
pub name: String,
pub states: StateSet,
}Expand description
The item type provided by Cache:Add signals
Fields§
§object: ObjectRefOwnedThe accessible object (within the application) (so)
app: ObjectRefOwnedThe application (root object(?) (so)
parent: ObjectRefOwnedThe parent object. (so)
children: Vec<ObjectRefOwned>List of references to the accessible’s children. a(so)
ifaces: InterfaceSetThe exposed interface(s) set. as
short_name: StringThe short localized name. s
role: RoleObjectRef role. u
name: StringMore detailed localized name.
states: StateSetThe states applicable to the accessible. au
Trait Implementations§
Source§impl Clone for LegacyCacheItem
impl Clone for LegacyCacheItem
Source§fn clone(&self) -> LegacyCacheItem
fn clone(&self) -> LegacyCacheItem
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 LegacyCacheItem
impl Debug for LegacyCacheItem
Source§impl Default for LegacyCacheItem
impl Default for LegacyCacheItem
Source§fn default() -> LegacyCacheItem
fn default() -> LegacyCacheItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LegacyCacheItem
impl<'de> Deserialize<'de> for LegacyCacheItem
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LegacyCacheItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LegacyCacheItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for LegacyCacheItem
impl Hash for LegacyCacheItem
Source§impl MessageConversionExt<'_, LegacyCacheItem> for LegacyAddAccessibleEvent
impl MessageConversionExt<'_, LegacyCacheItem> for LegacyAddAccessibleEvent
Source§fn try_from_message(
msg: &Message,
hdr: &Header<'_>,
) -> Result<LegacyAddAccessibleEvent, AtspiError>
fn try_from_message( msg: &Message, hdr: &Header<'_>, ) -> Result<LegacyAddAccessibleEvent, AtspiError>
Convert a
zbus::Message into this event type.
Does all the validation for you. Read moreSource§fn validate_interface(header: &Header<'_>) -> Result<(), AtspiError>
fn validate_interface(header: &Header<'_>) -> Result<(), AtspiError>
Validate the interface string via
zbus::message::Header::interface against Self’s assignment of DBusInterface::DBUS_INTERFACE Read moreSource§fn validate_member(hdr: &Header<'_>) -> Result<(), AtspiError>
fn validate_member(hdr: &Header<'_>) -> Result<(), AtspiError>
Validate the member string via
zbus::message::Header::member against Self’s assignment of DBusMember::DBUS_MEMBER Read moreSource§fn validate_body(msg: &Message) -> Result<(), AtspiError>
fn validate_body(msg: &Message) -> Result<(), AtspiError>
Source§impl PartialEq for LegacyCacheItem
impl PartialEq for LegacyCacheItem
Source§impl Serialize for LegacyCacheItem
impl Serialize for LegacyCacheItem
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 Type for LegacyCacheItem
impl Type for LegacyCacheItem
impl Eq for LegacyCacheItem
impl StructuralPartialEq for LegacyCacheItem
Auto Trait Implementations§
impl Freeze for LegacyCacheItem
impl RefUnwindSafe for LegacyCacheItem
impl Send for LegacyCacheItem
impl Sync for LegacyCacheItem
impl Unpin for LegacyCacheItem
impl UnwindSafe for LegacyCacheItem
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.