pub struct BusinessChatLinkInfo {
pub chat_id: i64,
pub text: FormattedText,
}
Expand description
Contains information about a business chat link
Fields§
§chat_id: i64
Identifier of the private chat that created the link
text: FormattedText
Message draft text that must be added to the input field
Trait Implementations§
Source§impl Clone for BusinessChatLinkInfo
impl Clone for BusinessChatLinkInfo
Source§fn clone(&self) -> BusinessChatLinkInfo
fn clone(&self) -> BusinessChatLinkInfo
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 BusinessChatLinkInfo
impl Debug for BusinessChatLinkInfo
Source§impl Default for BusinessChatLinkInfo
impl Default for BusinessChatLinkInfo
Source§fn default() -> BusinessChatLinkInfo
fn default() -> BusinessChatLinkInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BusinessChatLinkInfo
impl<'de> Deserialize<'de> for BusinessChatLinkInfo
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 BusinessChatLinkInfo
impl PartialEq for BusinessChatLinkInfo
Source§impl Serialize for BusinessChatLinkInfo
impl Serialize for BusinessChatLinkInfo
impl StructuralPartialEq for BusinessChatLinkInfo
Auto Trait Implementations§
impl Freeze for BusinessChatLinkInfo
impl RefUnwindSafe for BusinessChatLinkInfo
impl Send for BusinessChatLinkInfo
impl Sync for BusinessChatLinkInfo
impl Unpin for BusinessChatLinkInfo
impl UnwindSafe for BusinessChatLinkInfo
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