pub struct LinkPreviewTypeChat {
pub type: InviteLinkChatType,
pub photo: Option<ChatPhoto>,
pub creates_join_request: bool,
}Expand description
The link is a link to a chat
Fields§
§type: InviteLinkChatTypeType of the chat
photo: Option<ChatPhoto>Photo of the chat; may be null
creates_join_request: boolTrue, if the link only creates join request
Trait Implementations§
Source§impl Clone for LinkPreviewTypeChat
impl Clone for LinkPreviewTypeChat
Source§fn clone(&self) -> LinkPreviewTypeChat
fn clone(&self) -> LinkPreviewTypeChat
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 LinkPreviewTypeChat
impl Debug for LinkPreviewTypeChat
Source§impl<'de> Deserialize<'de> for LinkPreviewTypeChat
impl<'de> Deserialize<'de> for LinkPreviewTypeChat
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 LinkPreviewTypeChat
impl PartialEq for LinkPreviewTypeChat
Source§impl Serialize for LinkPreviewTypeChat
impl Serialize for LinkPreviewTypeChat
impl StructuralPartialEq for LinkPreviewTypeChat
Auto Trait Implementations§
impl Freeze for LinkPreviewTypeChat
impl RefUnwindSafe for LinkPreviewTypeChat
impl Send for LinkPreviewTypeChat
impl Sync for LinkPreviewTypeChat
impl Unpin for LinkPreviewTypeChat
impl UnsafeUnpin for LinkPreviewTypeChat
impl UnwindSafe for LinkPreviewTypeChat
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