Struct zbus_polkit::policykit1::ActionDescription
source · 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>,
}
Expand description
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.