Struct ashpd::desktop::global_shortcuts::Deactivated
source · pub struct Deactivated(/* private fields */);
Expand description
Notifies that a shortcut is not active anymore.
Implementations§
source§impl Deactivated
impl Deactivated
sourcepub fn session_handle(&self) -> ObjectPath<'_>
pub fn session_handle(&self) -> ObjectPath<'_>
Session that requested the shortcut.
sourcepub fn shortcut_id(&self) -> &str
pub fn shortcut_id(&self) -> &str
The application-provided ID for the shortcut.
sourcepub fn timestamp(&self) -> Duration
pub fn timestamp(&self) -> Duration
The timestamp, as seconds and microseconds since the Unix epoch.
sourcepub fn options(&self) -> &HashMap<String, OwnedValue>
pub fn options(&self) -> &HashMap<String, OwnedValue>
Optional information
Trait Implementations§
source§impl Debug for Deactivated
impl Debug for Deactivated
source§impl<'de> Deserialize<'de> for Deactivated
impl<'de> Deserialize<'de> for Deactivated
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
Auto Trait Implementations§
impl Freeze for Deactivated
impl RefUnwindSafe for Deactivated
impl Send for Deactivated
impl Sync for Deactivated
impl Unpin for Deactivated
impl UnwindSafe for Deactivated
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<'de, T> DynamicDeserialize<'de> for T
impl<'de, T> DynamicDeserialize<'de> for T
§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