pub struct EmojiCreateSchema {
pub name: Option<String>,
pub image: String,
pub roles: Vec<Snowflake>,
}Expand description
Fields§
§name: Option<String>§image: String§Reference:
roles: Vec<Snowflake>Trait Implementations§
Source§impl Clone for EmojiCreateSchema
impl Clone for EmojiCreateSchema
Source§fn clone(&self) -> EmojiCreateSchema
fn clone(&self) -> EmojiCreateSchema
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 EmojiCreateSchema
impl Debug for EmojiCreateSchema
Source§impl<'de> Deserialize<'de> for EmojiCreateSchema
impl<'de> Deserialize<'de> for EmojiCreateSchema
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 PartialEq for EmojiCreateSchema
impl PartialEq for EmojiCreateSchema
Source§impl Serialize for EmojiCreateSchema
impl Serialize for EmojiCreateSchema
impl StructuralPartialEq for EmojiCreateSchema
Auto Trait Implementations§
impl Freeze for EmojiCreateSchema
impl RefUnwindSafe for EmojiCreateSchema
impl Send for EmojiCreateSchema
impl Sync for EmojiCreateSchema
impl Unpin for EmojiCreateSchema
impl UnwindSafe for EmojiCreateSchema
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