[−][src]Struct zbus_polkit::policykit1::ActionDescription
This struct describes actions registered with the PolicyKit daemon.
Fields
action_id: String
Action Identifier.
description: String
Localized description of the action.
message: String
Localized message to be displayed when making the user authenticate for an action.
vendor_name: String
Name of the provider of the action or the empty string.
vendor_url: String
A URL pointing to a place with more information about the action or the empty string.
icon_name: String
The themed icon describing the action or the empty string if no icon is set.
implicit_any: ImplicitAuthorization
A value from the ImplicitAuthorization. enumeration for implicit authorizations that apply to any Subject.
implicit_inactive: ImplicitAuthorization
A value from the ImplicitAuthorization. enumeration for implicit authorizations that apply any Subject in an inactive user session on the local console.
implicit_active: ImplicitAuthorization
A value from the ImplicitAuthorization. enumeration for implicit authorizations that apply any Subject in an active user session on the local console.
annotations: HashMap<String, String>
Annotations for the action.
Trait Implementations
impl Debug for ActionDescription
[src]
impl<'de> Deserialize<'de> for ActionDescription
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for ActionDescription
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl Type for ActionDescription
[src]
Auto Trait Implementations
impl RefUnwindSafe for ActionDescription
impl Send for ActionDescription
impl Sync for ActionDescription
impl Unpin for ActionDescription
impl UnwindSafe for ActionDescription
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,