pub struct GroupRoleAssignment {
pub object: String,
pub group: Group,
pub role: Role,
}Expand description
Role assignment linking a group to a role.
Fields§
§object: StringThe object type, which is always group.role.
group: GroupThe group.
role: RoleThe role.
Trait Implementations§
Source§impl Clone for GroupRoleAssignment
impl Clone for GroupRoleAssignment
Source§fn clone(&self) -> GroupRoleAssignment
fn clone(&self) -> GroupRoleAssignment
Returns a duplicate of the value. Read more
1.0.0 · 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 GroupRoleAssignment
impl Debug for GroupRoleAssignment
Source§impl<'de> Deserialize<'de> for GroupRoleAssignment
impl<'de> Deserialize<'de> for GroupRoleAssignment
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
Source§impl PartialEq for GroupRoleAssignment
impl PartialEq for GroupRoleAssignment
Source§impl Serialize for GroupRoleAssignment
impl Serialize for GroupRoleAssignment
impl StructuralPartialEq for GroupRoleAssignment
Auto Trait Implementations§
impl Freeze for GroupRoleAssignment
impl RefUnwindSafe for GroupRoleAssignment
impl Send for GroupRoleAssignment
impl Sync for GroupRoleAssignment
impl Unpin for GroupRoleAssignment
impl UnwindSafe for GroupRoleAssignment
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