pub struct Permission {
pub id: Uuid,
pub category_id: String,
pub key: String,
pub name: String,
pub description: Option<String>,
pub created_at: OffsetDateTime,
pub updated_at: OffsetDateTime,
}Expand description
A Frontegg permission.
Fields§
§id: UuidThe ID of the permission.
category_id: StringThe ID of the category to which the permission belongs.
key: StringThe machine-readable name for the permission.
name: StringThe human-readable name for the permission.
description: Option<String>A description of the permission.
created_at: OffsetDateTimeThe time at which the permission was created.
updated_at: OffsetDateTimeThe time at which the permission was updated.
Trait Implementations§
Source§impl Clone for Permission
impl Clone for Permission
Source§fn clone(&self) -> Permission
fn clone(&self) -> Permission
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Permission
impl Debug for Permission
Source§impl<'de> Deserialize<'de> for Permission
impl<'de> Deserialize<'de> for Permission
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Permission
impl RefUnwindSafe for Permission
impl Send for Permission
impl Sync for Permission
impl Unpin for Permission
impl UnsafeUnpin for Permission
impl UnwindSafe for Permission
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more