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: ChannelId
kind: ChannelType
name: String
nsfw: 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 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.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V