[][src]Struct rtdlib::types::SetChatLocation

pub struct SetChatLocation { /* fields omitted */ }

Changes the location of a chat. Available only for some location-based supergroups, use supergroupFullInfo.can_set_location to check whether the method is allowed to use

Implementations

impl SetChatLocation[src]

pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>[src]

pub fn builder() -> RTDSetChatLocationBuilder[src]

pub fn chat_id(&self) -> i64[src]

pub fn location(&self) -> &ChatLocation[src]

Trait Implementations

impl AsRef<SetChatLocation> for SetChatLocation[src]

impl Clone for SetChatLocation[src]

impl Debug for SetChatLocation[src]

impl Default for SetChatLocation[src]

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

impl RFunction for SetChatLocation[src]

impl RObject for SetChatLocation[src]

impl Serialize for SetChatLocation[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.