Struct twilight_model::guild::audit_log::AffectedRole
source · [−]pub struct AffectedRole {
pub id: Id<RoleMarker>,
pub name: String,
}Expand description
Minimal amount of information about an affected role.
The following AuditLogChanges include this information:
Fields
id: Id<RoleMarker>ID of the role.
name: StringName of the role.
Trait Implementations
sourceimpl Clone for AffectedRole
impl Clone for AffectedRole
sourcefn clone(&self) -> AffectedRole
fn clone(&self) -> AffectedRole
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for AffectedRole
impl Debug for AffectedRole
sourceimpl<'de> Deserialize<'de> for AffectedRole
impl<'de> Deserialize<'de> for AffectedRole
sourcefn 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
sourceimpl Hash for AffectedRole
impl Hash for AffectedRole
sourceimpl PartialEq<AffectedRole> for AffectedRole
impl PartialEq<AffectedRole> for AffectedRole
sourcefn eq(&self, other: &AffectedRole) -> bool
fn eq(&self, other: &AffectedRole) -> bool
sourceimpl Serialize for AffectedRole
impl Serialize for AffectedRole
impl Eq for AffectedRole
impl StructuralEq for AffectedRole
impl StructuralPartialEq for AffectedRole
Auto Trait Implementations
impl RefUnwindSafe for AffectedRole
impl Send for AffectedRole
impl Sync for AffectedRole
impl Unpin for AffectedRole
impl UnwindSafe for AffectedRole
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more