[][src]Struct tgbot::methods::GetChat

pub struct GetChat { /* fields omitted */ }

Get up to date information about the chat

Methods

impl GetChat[src]

pub fn new<C: Into<ChatId>>(chat_id: C) -> Self[src]

Creates a new GetChat

Arguments

  • chat_id - Unique identifier for the target chat

Trait Implementations

impl Clone for GetChat[src]

impl Debug for GetChat[src]

impl Method for GetChat[src]

type Response = Chat

Type of successful result in API response

impl Serialize for GetChat[src]

Auto Trait Implementations

impl RefUnwindSafe for GetChat

impl Send for GetChat

impl Sync for GetChat

impl Unpin for GetChat

impl UnwindSafe for GetChat

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.