#[non_exhaustive]pub struct ModifyCurrentMember {
pub nick: Patch<CompactString>,
pub banner: Patch<ImageData>,
pub avatar: Patch<ImageData>,
pub bio: Patch<CompactString>,
}Expand description
The body of Modify Current Member: the bot’s own guild profile.
discord.js counterpart: GuildMemberManager#editMe.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.nick: Patch<CompactString>The nickname (needs CHANGE_NICKNAME).
The guild banner.
avatar: Patch<ImageData>The guild avatar.
bio: Patch<CompactString>The guild bio.
Trait Implementations§
Source§impl Clone for ModifyCurrentMember
impl Clone for ModifyCurrentMember
Source§impl Debug for ModifyCurrentMember
impl Debug for ModifyCurrentMember
Source§impl Default for ModifyCurrentMember
impl Default for ModifyCurrentMember
impl Eq for ModifyCurrentMember
Source§impl Hash for ModifyCurrentMember
impl Hash for ModifyCurrentMember
Source§impl PartialEq for ModifyCurrentMember
impl PartialEq for ModifyCurrentMember
Source§impl Serialize for ModifyCurrentMember
impl Serialize for ModifyCurrentMember
impl StructuralPartialEq for ModifyCurrentMember
Auto Trait Implementations§
impl !Freeze for ModifyCurrentMember
impl Forget for ModifyCurrentMember
impl Move for ModifyCurrentMember
impl RefUnwindSafe for ModifyCurrentMember
impl Send for ModifyCurrentMember
impl Sync for ModifyCurrentMember
impl Unpin for ModifyCurrentMember
impl UnsafeUnpin for ModifyCurrentMember
impl UnwindSafe for ModifyCurrentMember
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