[][src]Struct zbus_polkit::policykit1::ActionDescription

pub struct ActionDescription {
    pub action_id: String,
    pub description: String,
    pub message: String,
    pub vendor_name: String,
    pub vendor_url: String,
    pub icon_name: String,
    pub implicit_any: ImplicitAuthorization,
    pub implicit_inactive: ImplicitAuthorization,
    pub implicit_active: ImplicitAuthorization,
    pub annotations: HashMap<String, String>,
}

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]

impl Serialize for ActionDescription[src]

impl Type for ActionDescription[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.