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
Performs the conversion.
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 TextFieldsimpl Send for TextFieldsimpl Sync for TextFieldsimpl Unpin for TextFieldsimpl UnwindSafe for TextFieldsBlanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V