pub struct UserRoleAssignmentRef {
pub role_name: Option<String>,
pub unique_name: Option<String>,
pub user_id: Option<String>,
}
Expand description
Fields§
§role_name: Option<String>
The name of the role assigned.
unique_name: Option<String>
Identifier of the user given the role assignment.
user_id: Option<String>
Unique id of the user given the role assignment.
Implementations§
Trait Implementations§
source§impl Clone for UserRoleAssignmentRef
impl Clone for UserRoleAssignmentRef
source§fn clone(&self) -> UserRoleAssignmentRef
fn clone(&self) -> UserRoleAssignmentRef
Returns a copy 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 UserRoleAssignmentRef
impl Debug for UserRoleAssignmentRef
source§impl Default for UserRoleAssignmentRef
impl Default for UserRoleAssignmentRef
source§fn default() -> UserRoleAssignmentRef
fn default() -> UserRoleAssignmentRef
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UserRoleAssignmentRef
impl<'de> Deserialize<'de> for UserRoleAssignmentRef
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 UserRoleAssignmentRef
impl PartialEq for UserRoleAssignmentRef
source§fn eq(&self, other: &UserRoleAssignmentRef) -> bool
fn eq(&self, other: &UserRoleAssignmentRef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UserRoleAssignmentRef
impl Serialize for UserRoleAssignmentRef
impl StructuralPartialEq for UserRoleAssignmentRef
Auto Trait Implementations§
impl Freeze for UserRoleAssignmentRef
impl RefUnwindSafe for UserRoleAssignmentRef
impl Send for UserRoleAssignmentRef
impl Sync for UserRoleAssignmentRef
impl Unpin for UserRoleAssignmentRef
impl UnwindSafe for UserRoleAssignmentRef
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