useserde::{Deserialize, Serialize};usesuper::ChannelTypeApiType;/// <https://discord.com/developers/docs/resources/channel#channel-mention-object>
#[derive(Serialize, Deserialize, Debug, Clone)]pubstructChannelMentionApiType{/// id of the channel
pubid: String,
/// id of the guild containing the channel
pubguild_id: String,
/// the type of channel
#[serde(rename ="type")]pubtype_: ChannelTypeApiType,
/// the name of the channel
pubname: String,
}/// <https://discord.com/developers/docs/resources/channel#allowed-mentions-object-allowed-mentions-structure>
#[derive(Serialize, Deserialize)]pubstructAllowedMentionsApiType{/// An array of allowed mention types to parse from the content.
pubparse:Vec<String>,
/// Array of role_ids to mention (Max size of 100)
pubroles:Vec<String>,
/// Array of user_ids to mention (Max size of 100)
pubusers:Vec<String>,
/// For replies, whether to mention the author of the message being replied to (default false)
pubreplied_user:bool,
}