pub struct StageInstance {
pub id: Snowflake,
pub guild_id: Snowflake,
pub channel_id: Snowflake,
pub topic: String,
pub privacy_level: StagePrivacyLevel,
pub discoverable_disabled: bool,
pub guild_scheduled_event_id: Option<Snowflake>,
}Expand description
A stage instance holds information about a live stage.
Fields§
§id: SnowflakeThe ID of this stage instance.
guild_id: SnowflakeThe guild ID of the associated stage channel.
channel_id: SnowflakeThe ID of the associated stage channel.
topic: StringThe topic of the stage instance (1-120 characters).
privacy_level: StagePrivacyLevelThe privacy level of the stage instance.
discoverable_disabled: boolWhether or not stage discovery is disabled (deprecated).
guild_scheduled_event_id: Option<Snowflake>The ID of the scheduled event for this stage instance.
Trait Implementations§
Source§impl Clone for StageInstance
impl Clone for StageInstance
Source§fn clone(&self) -> StageInstance
fn clone(&self) -> StageInstance
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 StageInstance
impl Debug for StageInstance
Source§impl<'de> Deserialize<'de> for StageInstance
impl<'de> Deserialize<'de> for StageInstance
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StageInstance
impl RefUnwindSafe for StageInstance
impl Send for StageInstance
impl Sync for StageInstance
impl Unpin for StageInstance
impl UnwindSafe for StageInstance
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