pub struct RoleUpdate {
    pub guild_id: Id<GuildMarker>,
    pub role: Role,
}Fields§
§guild_id: Id<GuildMarker>§role: RoleTrait Implementations§
Source§impl Clone for RoleUpdate
 
impl Clone for RoleUpdate
Source§fn clone(&self) -> RoleUpdate
 
fn clone(&self) -> RoleUpdate
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 Debug for RoleUpdate
 
impl Debug for RoleUpdate
Source§impl<'de> Deserialize<'de> for RoleUpdate
 
impl<'de> Deserialize<'de> for RoleUpdate
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 RoleUpdate
 
impl Hash for RoleUpdate
Source§impl PartialEq for RoleUpdate
 
impl PartialEq for RoleUpdate
Source§impl Serialize for RoleUpdate
 
impl Serialize for RoleUpdate
impl Eq for RoleUpdate
impl StructuralPartialEq for RoleUpdate
Auto Trait Implementations§
impl Freeze for RoleUpdate
impl RefUnwindSafe for RoleUpdate
impl Send for RoleUpdate
impl Sync for RoleUpdate
impl Unpin for RoleUpdate
impl UnwindSafe for RoleUpdate
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