twilight_http/request/scheduled_event/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//! Request builders for interacting with scheduled events.

mod create_guild_scheduled_event;
mod delete_guild_scheduled_event;
mod get_guild_scheduled_event;
mod get_guild_scheduled_event_users;
mod get_guild_scheduled_events;
mod update_guild_scheduled_event;

pub use self::{
    create_guild_scheduled_event::{
        CreateGuildExternalScheduledEvent, CreateGuildScheduledEvent,
        CreateGuildStageInstanceScheduledEvent, CreateGuildVoiceScheduledEvent,
    },
    delete_guild_scheduled_event::DeleteGuildScheduledEvent,
    get_guild_scheduled_event::GetGuildScheduledEvent,
    get_guild_scheduled_event_users::GetGuildScheduledEventUsers,
    get_guild_scheduled_events::GetGuildScheduledEvents,
    update_guild_scheduled_event::UpdateGuildScheduledEvent,
};

use serde::Serialize;

#[derive(Serialize)]
struct EntityMetadataFields<'a> {
    location: Option<&'a str>,
}