pub struct AffectedRole {
pub id: Id<RoleMarker>,
pub name: String,
}
Expand description
Minimal amount of information about an affected role.
The following AuditLogChange
s include this information:
Fields§
§id: Id<RoleMarker>
ID of the role.
name: String
Name of the role.
Trait Implementations§
source§impl Clone for AffectedRole
impl Clone for AffectedRole
source§fn clone(&self) -> AffectedRole
fn clone(&self) -> AffectedRole
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 AffectedRole
impl Debug for AffectedRole
source§impl<'de> Deserialize<'de> for AffectedRole
impl<'de> Deserialize<'de> for AffectedRole
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 Hash for AffectedRole
impl Hash for AffectedRole
source§impl PartialEq for AffectedRole
impl PartialEq for AffectedRole
source§impl Serialize for AffectedRole
impl Serialize for AffectedRole
impl Eq for AffectedRole
impl StructuralPartialEq for AffectedRole
Auto Trait Implementations§
impl Freeze for AffectedRole
impl RefUnwindSafe for AffectedRole
impl Send for AffectedRole
impl Sync for AffectedRole
impl Unpin for AffectedRole
impl UnwindSafe for AffectedRole
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)