[−][src]Struct zbus_polkit::policykit1::Identity
This struct describes identities such as UNIX users and UNIX groups. It is typically used to check if a given process is authorized for an action.
The following kinds of identities are known:
-
Unix User.
identity_kind
should be set tounix-user
with key uid (of type uint32). -
Unix Group.
identity_kind
should be set tounix-group
with key gid (of type uint32).
Fields
identity_kind: &'a str
identity_details: &'a HashMap<&'a str, Value<'a>>
Trait Implementations
impl<'a> Debug for Identity<'a>
[src]
impl<'a> Serialize for Identity<'a>
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'a> Type for Identity<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Identity<'a>
impl<'a> Send for Identity<'a>
impl<'a> Sync for Identity<'a>
impl<'a> Unpin for Identity<'a>
impl<'a> UnwindSafe for Identity<'a>
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> 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>,