pub struct AfkMetadata {
pub afk_channel_id: ChannelId,
pub afk_timeout: AfkTimeout,
}
Fields§
§afk_channel_id: ChannelId
Id of a voice channel that’s considered the AFK channel.
afk_timeout: AfkTimeout
The amount of seconds a user can not show any activity in a voice channel before being moved to an AFK channel – if one exists.
Trait Implementations§
Source§impl Clone for AfkMetadata
impl Clone for AfkMetadata
Source§fn clone(&self) -> AfkMetadata
fn clone(&self) -> AfkMetadata
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AfkMetadata
impl Debug for AfkMetadata
Source§impl<'de> Deserialize<'de> for AfkMetadata
impl<'de> Deserialize<'de> for AfkMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AfkMetadata
impl PartialEq for AfkMetadata
Source§impl Serialize for AfkMetadata
impl Serialize for AfkMetadata
impl StructuralPartialEq for AfkMetadata
Auto Trait Implementations§
impl Freeze for AfkMetadata
impl RefUnwindSafe for AfkMetadata
impl Send for AfkMetadata
impl Sync for AfkMetadata
impl Unpin for AfkMetadata
impl UnwindSafe for AfkMetadata
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