Struct tdlib_types::types::PageBlockChatLink
source · pub struct PageBlockChatLink {
pub title: String,
pub photo: Option<ChatPhoto>,
pub username: String,
}
Expand description
A link to a chat
Fields
title: String
Chat title
photo: Option<ChatPhoto>
Chat photo; may be null
username: String
Chat username, by which all other information about the chat should be resolved
Trait Implementations
sourceimpl Clone for PageBlockChatLink
impl Clone for PageBlockChatLink
sourcefn clone(&self) -> PageBlockChatLink
fn clone(&self) -> PageBlockChatLink
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PageBlockChatLink
impl Debug for PageBlockChatLink
sourceimpl<'de> Deserialize<'de> for PageBlockChatLink
impl<'de> Deserialize<'de> for PageBlockChatLink
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
sourceimpl Serialize for PageBlockChatLink
impl Serialize for PageBlockChatLink
Auto Trait Implementations
impl RefUnwindSafe for PageBlockChatLink
impl Send for PageBlockChatLink
impl Sync for PageBlockChatLink
impl Unpin for PageBlockChatLink
impl UnwindSafe for PageBlockChatLink
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