Struct telegram_types::bot::types::Chat
source · Fields
id: ChatId
Unique identifier for this chat.
photo: Option<ChatPhoto>
Chat photo. Returned only in getChat
.
kind: ChatType
Type of chat
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Chat
impl<'de> Deserialize<'de> for Chat
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Chat
Auto Trait Implementations
impl RefUnwindSafe for Chat
impl Send for Chat
impl Sync for Chat
impl Unpin for Chat
impl UnwindSafe for Chat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more