[−][src]Struct automate::models::GatewayBot
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: String
shards: i32
session_start_limit: SessionStartLimit
Trait Implementations
impl FromJson for GatewayBot
[src]
fn from_json(json: &str) -> Result<GatewayBot, JsonError>
[src]
impl Debug for GatewayBot
[src]
Auto Trait Implementations
impl Send for GatewayBot
impl Sync for GatewayBot
impl Unpin for GatewayBot
impl UnwindSafe for GatewayBot
impl RefUnwindSafe for GatewayBot
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,