#[non_exhaustive]pub struct FollowAnnouncementChannel {
pub webhook_channel_id: ChannelId,
}Expand description
The body of Follow Announcement Channel.
discord.js counterpart: RESTPostAPIChannelFollowersJSONBody (discord-api-types).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.webhook_channel_id: ChannelIdThe channel that receives the announcements (needs MANAGE_WEBHOOKS there).
Implementations§
Trait Implementations§
Source§impl Clone for FollowAnnouncementChannel
impl Clone for FollowAnnouncementChannel
impl Copy for FollowAnnouncementChannel
Source§impl Debug for FollowAnnouncementChannel
impl Debug for FollowAnnouncementChannel
impl Eq for FollowAnnouncementChannel
Source§impl Hash for FollowAnnouncementChannel
impl Hash for FollowAnnouncementChannel
impl StructuralPartialEq for FollowAnnouncementChannel
Auto Trait Implementations§
impl Forget for FollowAnnouncementChannel
impl Freeze for FollowAnnouncementChannel
impl Move for FollowAnnouncementChannel
impl RefUnwindSafe for FollowAnnouncementChannel
impl Send for FollowAnnouncementChannel
impl Sync for FollowAnnouncementChannel
impl Unpin for FollowAnnouncementChannel
impl UnsafeUnpin for FollowAnnouncementChannel
impl UnwindSafe for FollowAnnouncementChannel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more