pub struct UpdateUserRolesRequest {
pub role_ids: Vec<Uuid>,
}Expand description
Request to replace a user’s roles.
Fields§
§role_ids: Vec<Uuid>List of role IDs to assign. Replaces all existing role assignments.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UpdateUserRolesRequest
impl<'de> Deserialize<'de> for UpdateUserRolesRequest
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 Serialize for UpdateUserRolesRequest
impl Serialize for UpdateUserRolesRequest
Source§impl Validate for UpdateUserRolesRequest
impl Validate for UpdateUserRolesRequest
Auto Trait Implementations§
impl Freeze for UpdateUserRolesRequest
impl RefUnwindSafe for UpdateUserRolesRequest
impl Send for UpdateUserRolesRequest
impl Sync for UpdateUserRolesRequest
impl Unpin for UpdateUserRolesRequest
impl UnsafeUnpin for UpdateUserRolesRequest
impl UnwindSafe for UpdateUserRolesRequest
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