pub struct BusinessChatLink {
pub link: String,
pub message: String,
pub entities: Option<Vec<MessageEntity>>,
pub title: Option<String>,
pub views: i32,
}Expand description
Generated from:
businessChatLink#b4ae666f flags:# link:string message:string entities:flags.0?Vector<MessageEntity> title:flags.1?string views:int = BusinessChatLinkFields§
§link: String§message: String§entities: Option<Vec<MessageEntity>>§title: Option<String>§views: i32Trait Implementations§
Source§impl Clone for BusinessChatLink
impl Clone for BusinessChatLink
Source§fn clone(&self) -> BusinessChatLink
fn clone(&self) -> BusinessChatLink
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 BusinessChatLink
impl Debug for BusinessChatLink
Source§impl Deserializable for BusinessChatLink
impl Deserializable for BusinessChatLink
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<BusinessChatLink> for BusinessChatLink
impl From<BusinessChatLink> for BusinessChatLink
Source§fn from(x: BusinessChatLink) -> Self
fn from(x: BusinessChatLink) -> Self
Converts to this type from the input type.
Source§impl Identifiable for BusinessChatLink
impl Identifiable for BusinessChatLink
Source§const CONSTRUCTOR_ID: u32 = 0xb4ae666f
const CONSTRUCTOR_ID: u32 = 0xb4ae666f
The constructor ID as specified in the TL schema.
Source§impl PartialEq for BusinessChatLink
impl PartialEq for BusinessChatLink
Source§impl Serializable for BusinessChatLink
impl Serializable for BusinessChatLink
Source§impl TryFrom<BusinessChatLink> for BusinessChatLink
impl TryFrom<BusinessChatLink> for BusinessChatLink
Source§type Error = BusinessChatLink
type Error = BusinessChatLink
The type returned in the event of a conversion error.
impl StructuralPartialEq for BusinessChatLink
Auto Trait Implementations§
impl Freeze for BusinessChatLink
impl RefUnwindSafe for BusinessChatLink
impl Send for BusinessChatLink
impl Sync for BusinessChatLink
impl Unpin for BusinessChatLink
impl UnsafeUnpin for BusinessChatLink
impl UnwindSafe for BusinessChatLink
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