pub struct UpdateGuildSettingsBody {Show 17 fields
pub name: Option<String>,
pub icon: Option<ImageHash>,
pub system_channel_id: Option<Id<ChannelMarker>>,
pub system_channel_flags: Option<SystemChannelFlags>,
pub afk_channel_id: Option<Id<ChannelMarker>>,
pub afk_timeout: Option<u32>,
pub default_message_notifications: Option<DefaultMessageNotifications>,
pub verification_level: Option<GuildVerificationLevel>,
pub mfa_level: Option<GuildMfaLevel>,
pub nsfw_level: Option<NsfwLevel>,
pub explicit_content_filter: Option<GuildExplicitContentFilter>,
pub banner: Option<String>,
pub splash: Option<String>,
pub embed_splash: Option<String>,
pub splash_card_alignment: Option<SplashCardAlignment>,
pub features: Option<Vec<GuildFeatureFlag>>,
pub message_history_cutoff: Option<Timestamp<Iso8601>>,
}Fields§
§name: Option<String>§icon: Option<ImageHash>Hash of the guild icon
system_channel_id: Option<Id<ChannelMarker>>§system_channel_flags: Option<SystemChannelFlags>§afk_channel_id: Option<Id<ChannelMarker>>§afk_timeout: Option<u32>§default_message_notifications: Option<DefaultMessageNotifications>§verification_level: Option<GuildVerificationLevel>§mfa_level: Option<GuildMfaLevel>§nsfw_level: Option<NsfwLevel>§explicit_content_filter: Option<GuildExplicitContentFilter>§splash: Option<String>Base64-encoded image data for the guild splash screen.
embed_splash: Option<String>Base64-encoded image data for the embedded invite splash.
splash_card_alignment: Option<SplashCardAlignment>§features: Option<Vec<GuildFeatureFlag>>§message_history_cutoff: Option<Timestamp<Iso8601>>Implementations§
Source§impl UpdateGuildSettingsBody
impl UpdateGuildSettingsBody
Sourcepub fn builder() -> UpdateGuildSettingsBodyBuilder
pub fn builder() -> UpdateGuildSettingsBodyBuilder
Create an instance of UpdateGuildSettingsBody using the builder syntax
Trait Implementations§
Source§impl Clone for UpdateGuildSettingsBody
impl Clone for UpdateGuildSettingsBody
Source§fn clone(&self) -> UpdateGuildSettingsBody
fn clone(&self) -> UpdateGuildSettingsBody
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 UpdateGuildSettingsBody
impl Debug for UpdateGuildSettingsBody
Auto Trait Implementations§
impl Freeze for UpdateGuildSettingsBody
impl RefUnwindSafe for UpdateGuildSettingsBody
impl Send for UpdateGuildSettingsBody
impl Sync for UpdateGuildSettingsBody
impl Unpin for UpdateGuildSettingsBody
impl UnsafeUnpin for UpdateGuildSettingsBody
impl UnwindSafe for UpdateGuildSettingsBody
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