pub struct PublicAssignOrganizationUserRoleBody {
pub role_id: String,
}Available on crate feature
administration-types only.Expand description
Request payload for assigning a role to a user.
Fields§
§role_id: StringIdentifier of the role to assign.
Trait Implementations§
Source§impl Clone for PublicAssignOrganizationUserRoleBody
impl Clone for PublicAssignOrganizationUserRoleBody
Source§fn clone(&self) -> PublicAssignOrganizationUserRoleBody
fn clone(&self) -> PublicAssignOrganizationUserRoleBody
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<'de> Deserialize<'de> for PublicAssignOrganizationUserRoleBody
impl<'de> Deserialize<'de> for PublicAssignOrganizationUserRoleBody
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 PublicAssignOrganizationUserRoleBody
impl PartialEq for PublicAssignOrganizationUserRoleBody
Source§fn eq(&self, other: &PublicAssignOrganizationUserRoleBody) -> bool
fn eq(&self, other: &PublicAssignOrganizationUserRoleBody) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PublicAssignOrganizationUserRoleBody
Auto Trait Implementations§
impl Freeze for PublicAssignOrganizationUserRoleBody
impl RefUnwindSafe for PublicAssignOrganizationUserRoleBody
impl Send for PublicAssignOrganizationUserRoleBody
impl Sync for PublicAssignOrganizationUserRoleBody
impl Unpin for PublicAssignOrganizationUserRoleBody
impl UnwindSafe for PublicAssignOrganizationUserRoleBody
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