Struct twilight_http::request::guild::create_guild::TextFields [−][src]
pub struct TextFields {
pub id: ChannelId,
pub kind: ChannelType,
pub name: String,
pub nsfw: Option<bool>,
pub permission_overwrites: Option<Vec<PermissionOverwrite>>,
pub parent_id: Option<ChannelId>,
pub rate_limit_per_user: Option<u64>,
pub topic: Option<String>,
}Expand description
Text channel fields sent to Discord.
Use TextFieldsBuilder to build one.
Fields
id: ChannelIdkind: ChannelTypename: Stringnsfw: Option<bool>permission_overwrites: Option<Vec<PermissionOverwrite>>parent_id: Option<ChannelId>rate_limit_per_user: Option<u64>topic: Option<String>Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for TextFields
impl Send for TextFields
impl Sync for TextFields
impl Unpin for TextFields
impl UnwindSafe for TextFields
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more