pub struct ModifyEmoji {
pub name: Option<String>,
pub roles: Option<Vec<Snowflake>>,
}Expand description
Payload for modifying an emoji.
Fields§
§name: Option<String>§roles: Option<Vec<Snowflake>>Trait Implementations§
Source§impl Clone for ModifyEmoji
impl Clone for ModifyEmoji
Source§fn clone(&self) -> ModifyEmoji
fn clone(&self) -> ModifyEmoji
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 ModifyEmoji
impl Debug for ModifyEmoji
Source§impl Default for ModifyEmoji
impl Default for ModifyEmoji
Source§fn default() -> ModifyEmoji
fn default() -> ModifyEmoji
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ModifyEmoji
impl RefUnwindSafe for ModifyEmoji
impl Send for ModifyEmoji
impl Sync for ModifyEmoji
impl Unpin for ModifyEmoji
impl UnwindSafe for ModifyEmoji
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