pub struct CacheItem {
pub object: ObjectRefOwned,
pub app: ObjectRefOwned,
pub parent: ObjectRefOwned,
pub index: i32,
pub children: i32,
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)
index: i32The accessbile index in parent. i
children: i32Child count of the accessible i
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<'de> Deserialize<'de> for CacheItem
impl<'de> Deserialize<'de> for CacheItem
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<'a> MessageConversionExt<'a, CacheItem> for AddAccessibleEvent
impl<'a> MessageConversionExt<'a, CacheItem> for AddAccessibleEvent
Source§fn try_from_message(msg: &Message, hdr: &Header<'_>) -> Result<Self, AtspiError>
fn try_from_message(msg: &Message, hdr: &Header<'_>) -> Result<Self, 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>
impl Eq for CacheItem
impl StructuralPartialEq for CacheItem
Auto Trait Implementations§
impl Freeze for CacheItem
impl RefUnwindSafe for CacheItem
impl Send for CacheItem
impl Sync for CacheItem
impl Unpin for CacheItem
impl UnwindSafe for CacheItem
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.