[−][src]Struct zbus_polkit::policykit1::AuthorizationResult
Describes the result of calling CheckAuthorization()
Fields
TRUE if the given Subject
is authorized for the given action.
is_challenge: bool
TRUE if the given Subject
could be authorized if more information was provided, and
CheckAuthorizationFlags::AllowUserInteraction
wasn't passed or no suitable authentication
agent was available.
details: HashMap<String, String>
Details for the result. Known key/value-pairs include polkit.temporary_authorization_id
(if the authorization is temporary, this is set to the opaque temporary authorization id),
polkit.retains_authorization_after_challenge
(Set to a non-empty string if the
authorization will be retained after authentication (if is_challenge is TRUE)),
polkit.dismissed
(Set to a non-empty string if the authentication dialog was dismissed by
the user).
Trait Implementations
impl Debug for AuthorizationResult
[src]
impl<'de> Deserialize<'de> for AuthorizationResult
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for AuthorizationResult
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl Type for AuthorizationResult
[src]
Auto Trait Implementations
impl RefUnwindSafe for AuthorizationResult
impl Send for AuthorizationResult
impl Sync for AuthorizationResult
impl Unpin for AuthorizationResult
impl UnwindSafe for AuthorizationResult
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,
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.
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>,