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: ObjectRefThe accessible object (within the application) (so)
app: ObjectRefThe application (root object(?) (so)
parent: ObjectRefThe 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
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 T
impl<'de, T> DynamicDeserialize<'de> for T
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature<S>(
signature: S,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature<S>( signature: S, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this signature.
Source§impl<T> DynamicType for T
impl<T> DynamicType for T
Source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more