[][src]Struct serenity::model::guild::Options

pub struct Options {
    pub delete_member_days: Option<u64>,
    pub members_removed: Option<u64>,
    pub channel_id: Option<ChannelId>,
    pub count: Option<u64>,
    pub id: Option<u64>,
    pub kind: Option<String>,
    pub role_name: Option<String>,
}

Fields

delete_member_days: Option<u64>

Number of days after which inactive members were kicked.

members_removed: Option<u64>

Number of members removed by the prune

channel_id: Option<ChannelId>

Channel in which the messages were deleted

count: Option<u64>

Number of deleted messages.

id: Option<u64>

Id of the overwritten entity

kind: Option<String>

Type of overwritten entity ("member" or "role").

role_name: Option<String>

Name of the role if type is "role"

Trait Implementations

impl Debug for Options[src]

impl Serialize for Options[src]

impl<'de> Deserialize<'de> for Options[src]

Auto Trait Implementations

impl Send for Options

impl Sync for Options

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<T> DebugAny for T where
    T: Any + Debug
[src]

impl<T> UnsafeAny for T where
    T: Any