pub struct BatchRoleAssignment {
pub subject: Subject,
pub role: Role,
pub assign: bool,
}Expand description
Batch role assignment request
Fields§
§subject: Subject§role: Role§assign: boolImplementations§
Source§impl BatchRoleAssignment
impl BatchRoleAssignment
Sourcepub fn new_assignment(subject: Subject, role: Role) -> Self
pub fn new_assignment(subject: Subject, role: Role) -> Self
Create a new batch role assignment
Sourcepub fn new_revocation(subject: Subject, role: Role) -> Self
pub fn new_revocation(subject: Subject, role: Role) -> Self
Create a new batch role revocation
Trait Implementations§
Source§impl Clone for BatchRoleAssignment
impl Clone for BatchRoleAssignment
Source§fn clone(&self) -> BatchRoleAssignment
fn clone(&self) -> BatchRoleAssignment
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 moreAuto Trait Implementations§
impl Freeze for BatchRoleAssignment
impl !RefUnwindSafe for BatchRoleAssignment
impl Send for BatchRoleAssignment
impl Sync for BatchRoleAssignment
impl Unpin for BatchRoleAssignment
impl !UnwindSafe for BatchRoleAssignment
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