pub enum ActionsPluginAction {
LockScreen,
Hibernate,
Logout,
Reboot,
Shutdown,
Suspend,
Custom(ActionsPluginActionCustom),
}Variants§
Trait Implementations§
Source§impl Clone for ActionsPluginAction
impl Clone for ActionsPluginAction
Source§fn clone(&self) -> ActionsPluginAction
fn clone(&self) -> ActionsPluginAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ActionsPluginAction
impl Debug for ActionsPluginAction
Source§impl<'de> Deserialize<'de> for ActionsPluginAction
impl<'de> Deserialize<'de> for ActionsPluginAction
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 From<ActionsPluginAction> for ActionsPluginAction
impl From<ActionsPluginAction> for ActionsPluginAction
Source§fn from(value: ActionsPluginAction) -> Self
fn from(value: ActionsPluginAction) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ActionsPluginAction
impl PartialEq for ActionsPluginAction
Source§fn eq(&self, other: &ActionsPluginAction) -> bool
fn eq(&self, other: &ActionsPluginAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ActionsPluginAction
impl Serialize for ActionsPluginAction
impl Eq for ActionsPluginAction
impl StructuralPartialEq for ActionsPluginAction
Auto Trait Implementations§
impl Freeze for ActionsPluginAction
impl RefUnwindSafe for ActionsPluginAction
impl Send for ActionsPluginAction
impl Sync for ActionsPluginAction
impl Unpin for ActionsPluginAction
impl UnsafeUnpin for ActionsPluginAction
impl UnwindSafe for ActionsPluginAction
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