pub struct PageBlockChatLink {
pub title: String,
pub photo: Option<ChatPhotoInfo>,
pub accent_color_id: i32,
pub username: String,
}
Expand description
A link to a chat
Fields§
§title: String
Chat title
photo: Option<ChatPhotoInfo>
Chat photo; may be null
accent_color_id: i32
Identifier of the accent color for chat title and background of chat photo
username: String
Chat username by which all other information about the chat can 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 Default for PageBlockChatLink
impl Default for PageBlockChatLink
Source§fn default() -> PageBlockChatLink
fn default() -> PageBlockChatLink
Returns the “default value” for a type. Read more
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
Source§impl PartialEq for PageBlockChatLink
impl PartialEq for PageBlockChatLink
Source§impl Serialize for PageBlockChatLink
impl Serialize for PageBlockChatLink
impl StructuralPartialEq for PageBlockChatLink
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