pub struct CacheItem {
pub object: ObjectRef,
pub app: ObjectRef,
pub parent: ObjectRef,
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: ObjectRef
The accessible object (within the application) (so)
app: ObjectRef
The application (root object(?) (so)
parent: ObjectRef
The parent object. (so)
index: i32
The accessbile index in parent. i
children: i32
Child count of the accessible i
ifaces: InterfaceSet
The exposed interface(s) set. as
short_name: String
The short localized name. s
role: Role
ObjectRef
role. u
name: String
More detailed localized name.
states: StateSet
The 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
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.
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<CacheItem> for Twhere
T: MessageConversion<Body = CacheItem>,
impl<T> MessageConversionExt<CacheItem> for Twhere
T: MessageConversion<Body = CacheItem>,
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