[][src]Struct automate::models::GatewayBot

pub struct GatewayBot {
    pub url: String,
    pub shards: i32,
    pub session_start_limit: SessionStartLimit,
}

An object with a valid WSS URL and additional metadata that can help during the operation of large or sharded bots. This value should not be cached since they may change as the bot joins and leaves guilds.

Fields

url: Stringshards: i32session_start_limit: SessionStartLimit

Trait Implementations

impl FromJson for GatewayBot[src]

impl Debug for GatewayBot[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,