#[non_exhaustive]pub struct ModifyStageInstance {
pub topic: Option<CompactString>,
pub privacy_level: Option<PrivacyLevel>,
}Expand description
The body of Modify Stage Instance.
Every field is optional.
discord.js counterpart: StageInstanceEditOptions.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.topic: Option<CompactString>The new topic (1-120 characters).
privacy_level: Option<PrivacyLevel>Who can see the stage.
Trait Implementations§
Source§impl Clone for ModifyStageInstance
impl Clone for ModifyStageInstance
Source§impl Debug for ModifyStageInstance
impl Debug for ModifyStageInstance
Source§impl Default for ModifyStageInstance
impl Default for ModifyStageInstance
impl Eq for ModifyStageInstance
Source§impl Hash for ModifyStageInstance
impl Hash for ModifyStageInstance
Source§impl PartialEq for ModifyStageInstance
impl PartialEq for ModifyStageInstance
Source§impl Serialize for ModifyStageInstance
impl Serialize for ModifyStageInstance
impl StructuralPartialEq for ModifyStageInstance
Auto Trait Implementations§
impl Freeze for ModifyStageInstance
impl RefUnwindSafe for ModifyStageInstance
impl Send for ModifyStageInstance
impl Sync for ModifyStageInstance
impl Unpin for ModifyStageInstance
impl UnsafeUnpin for ModifyStageInstance
impl UnwindSafe for ModifyStageInstance
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