pub struct GuildTextChannelSettingsUpdates {
pub topic: Option<String>,
pub parent_id: Option<Id<ChannelMarker>>,
pub permission_overwrites: Option<Vec<PermissionOverwrite>>,
pub nsfw: Option<bool>,
pub slowmode: Option<Duration<Seconds>>,
pub name: Option<String>,
}Fields§
§topic: Option<String>1-1024 characters.
parent_id: Option<Id<ChannelMarker>>The parent category.
permission_overwrites: Option<Vec<PermissionOverwrite>>§nsfw: Option<bool>§slowmode: Option<Duration<Seconds>>Slowmode delay. Must be 0 <= delay <= 21600 (21600 seconds = 6 hours).
name: Option<String>The channel name.
Implementations§
Source§impl GuildTextChannelSettingsUpdates
impl GuildTextChannelSettingsUpdates
Sourcepub fn builder() -> GuildTextChannelSettingsUpdatesBuilder
pub fn builder() -> GuildTextChannelSettingsUpdatesBuilder
Create an instance of GuildTextChannelSettingsUpdates using the builder syntax
Trait Implementations§
Source§impl Clone for GuildTextChannelSettingsUpdates
impl Clone for GuildTextChannelSettingsUpdates
Source§fn clone(&self) -> GuildTextChannelSettingsUpdates
fn clone(&self) -> GuildTextChannelSettingsUpdates
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 moreAuto Trait Implementations§
impl Freeze for GuildTextChannelSettingsUpdates
impl RefUnwindSafe for GuildTextChannelSettingsUpdates
impl Send for GuildTextChannelSettingsUpdates
impl Sync for GuildTextChannelSettingsUpdates
impl Unpin for GuildTextChannelSettingsUpdates
impl UnsafeUnpin for GuildTextChannelSettingsUpdates
impl UnwindSafe for GuildTextChannelSettingsUpdates
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