pub struct RoleCreatedData {
pub object: String,
pub slug: String,
pub resource_type_slug: String,
pub permissions: Option<Vec<String>>,
pub created_at: String,
pub updated_at: String,
}Expand description
The event payload.
Fields§
§object: StringDistinguishes the role object.
slug: StringThe slug identifier of the role.
resource_type_slug: StringThe slug of the resource type the role applies to.
permissions: Option<Vec<String>>The permissions granted by the role.
created_at: StringAn ISO 8601 timestamp.
updated_at: StringAn ISO 8601 timestamp.
Trait Implementations§
Source§impl Clone for RoleCreatedData
impl Clone for RoleCreatedData
Source§fn clone(&self) -> RoleCreatedData
fn clone(&self) -> RoleCreatedData
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 RoleCreatedData
impl Debug for RoleCreatedData
Source§impl<'de> Deserialize<'de> for RoleCreatedData
impl<'de> Deserialize<'de> for RoleCreatedData
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 RoleCreatedData
impl RefUnwindSafe for RoleCreatedData
impl Send for RoleCreatedData
impl Sync for RoleCreatedData
impl Unpin for RoleCreatedData
impl UnsafeUnpin for RoleCreatedData
impl UnwindSafe for RoleCreatedData
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