pub struct CreateStageInstance<'a> {
pub channel_id: Snowflake,
pub topic: &'a str,
pub privacy_level: Option<StagePrivacyLevel>,
pub send_start_notification: Option<bool>,
pub guild_scheduled_event_id: Option<Snowflake>,
pub reason: Option<&'a str>,
}Available on crate features
rest-stage-instances and rest only.Expand description
Body of BotClient::create_stage_instance
Fields§
§channel_id: SnowflakeThe stage channel to go live in
topic: &'a strWhat it is about, 1-120 characters
privacy_level: Option<StagePrivacyLevel>Who can see it; guild members by default
send_start_notification: Option<bool>Notify @everyone that the stage is live (needs the Mention Everyone permission)
guild_scheduled_event_id: Option<Snowflake>The scheduled event it is for
reason: Option<&'a str>X-Audit-Log-Reason
Trait Implementations§
Source§impl<'a> Clone for CreateStageInstance<'a>
impl<'a> Clone for CreateStageInstance<'a>
impl<'a> Copy for CreateStageInstance<'a>
Source§impl<'a> Debug for CreateStageInstance<'a>
impl<'a> Debug for CreateStageInstance<'a>
Auto Trait Implementations§
impl<'a> Freeze for CreateStageInstance<'a>
impl<'a> RefUnwindSafe for CreateStageInstance<'a>
impl<'a> Send for CreateStageInstance<'a>
impl<'a> Sync for CreateStageInstance<'a>
impl<'a> Unpin for CreateStageInstance<'a>
impl<'a> UnsafeUnpin for CreateStageInstance<'a>
impl<'a> UnwindSafe for CreateStageInstance<'a>
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