pub struct UpdateGuildMemberBody {
pub nick: Option<String>,
pub roles: Option<Vec<Id<RoleMarker>>>,
pub mute: Option<bool>,
pub deaf: Option<bool>,
pub communication_disabled_until: Option<Option<Timestamp<Iso8601>>>,
pub timeout_reason: Option<String>,
pub voice_channel_id: Option<Id<ChannelMarker>>,
pub voice_connection_id: Option<String>,
}Fields§
§nick: Option<String>§roles: Option<Vec<Id<RoleMarker>>>§mute: Option<bool>§deaf: Option<bool>§communication_disabled_until: Option<Option<Timestamp<Iso8601>>>Set this to Some(None) to remove the user’s timeout.
timeout_reason: Option<String>§voice_channel_id: Option<Id<ChannelMarker>>The voice channel to move the member to.
voice_connection_id: Option<String>Implementations§
Source§impl UpdateGuildMemberBody
impl UpdateGuildMemberBody
Sourcepub fn builder() -> UpdateGuildMemberBodyBuilder
pub fn builder() -> UpdateGuildMemberBodyBuilder
Create an instance of UpdateGuildMemberBody using the builder syntax
Trait Implementations§
Source§impl Clone for UpdateGuildMemberBody
impl Clone for UpdateGuildMemberBody
Source§fn clone(&self) -> UpdateGuildMemberBody
fn clone(&self) -> UpdateGuildMemberBody
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 UpdateGuildMemberBody
impl Debug for UpdateGuildMemberBody
Auto Trait Implementations§
impl Freeze for UpdateGuildMemberBody
impl RefUnwindSafe for UpdateGuildMemberBody
impl Send for UpdateGuildMemberBody
impl Sync for UpdateGuildMemberBody
impl Unpin for UpdateGuildMemberBody
impl UnsafeUnpin for UpdateGuildMemberBody
impl UnwindSafe for UpdateGuildMemberBody
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