Struct twilight_model::channel::message::allowed_mentions::AllowedMentionsBuilder [−][src]
pub struct AllowedMentionsBuilder(_);
Implementations
Create a new AllowedMentionsBuilder
.
When replying, whether to mention the target user.
Build the AllowedMentions
struct.
Note: This clears possible validation errors by removing data. For
example, if both users
and user_ids
are called, the effect of
users
will be nullified and only the users specified with user_ids
will be built.
Trait Implementations
Returns the “default value” for a type. Read more
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 AllowedMentionsBuilder
impl Send for AllowedMentionsBuilder
impl Sync for AllowedMentionsBuilder
impl Unpin for AllowedMentionsBuilder
impl UnwindSafe for AllowedMentionsBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more