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§
Source§impl Clone for PageBlockChatLink
impl Clone for PageBlockChatLink
Source§fn clone(&self) -> PageBlockChatLink
fn clone(&self) -> PageBlockChatLink
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PageBlockChatLink
impl Debug for PageBlockChatLink
Source§impl<'de> Deserialize<'de> for PageBlockChatLink
impl<'de> Deserialize<'de> for PageBlockChatLink
Source§fn 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
Auto Trait Implementations§
impl Freeze for PageBlockChatLink
impl RefUnwindSafe for PageBlockChatLink
impl Send for PageBlockChatLink
impl Sync for PageBlockChatLink
impl Unpin for PageBlockChatLink
impl UnwindSafe for PageBlockChatLink
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more