pub struct ChatBoostLinkInfo {
    pub is_public: bool,
    pub chat_id: i64,
}Expand description
Contains information about a link to boost a a chat
Fields§
§is_public: boolTrue, if the link will work for non-members of the chat
chat_id: i64Identifier of the chat to which the link points; 0 if the chat isn’t found
Trait Implementations§
Source§impl Clone for ChatBoostLinkInfo
 
impl Clone for ChatBoostLinkInfo
Source§fn clone(&self) -> ChatBoostLinkInfo
 
fn clone(&self) -> ChatBoostLinkInfo
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 ChatBoostLinkInfo
 
impl Debug for ChatBoostLinkInfo
Source§impl Default for ChatBoostLinkInfo
 
impl Default for ChatBoostLinkInfo
Source§fn default() -> ChatBoostLinkInfo
 
fn default() -> ChatBoostLinkInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatBoostLinkInfo
 
impl<'de> Deserialize<'de> for ChatBoostLinkInfo
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 ChatBoostLinkInfo
 
impl PartialEq for ChatBoostLinkInfo
Source§impl Serialize for ChatBoostLinkInfo
 
impl Serialize for ChatBoostLinkInfo
impl StructuralPartialEq for ChatBoostLinkInfo
Auto Trait Implementations§
impl Freeze for ChatBoostLinkInfo
impl RefUnwindSafe for ChatBoostLinkInfo
impl Send for ChatBoostLinkInfo
impl Sync for ChatBoostLinkInfo
impl Unpin for ChatBoostLinkInfo
impl UnwindSafe for ChatBoostLinkInfo
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