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