pub struct ChatBoostLink {
pub link: String,
pub is_public: bool,
}
Expand description
Contains an HTTPS link to boost a chat
Fields§
§link: String
The link
is_public: bool
True, if the link will work for non-members of the chat
Trait Implementations§
Source§impl Clone for ChatBoostLink
impl Clone for ChatBoostLink
Source§fn clone(&self) -> ChatBoostLink
fn clone(&self) -> ChatBoostLink
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 ChatBoostLink
impl Debug for ChatBoostLink
Source§impl Default for ChatBoostLink
impl Default for ChatBoostLink
Source§fn default() -> ChatBoostLink
fn default() -> ChatBoostLink
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatBoostLink
impl<'de> Deserialize<'de> for ChatBoostLink
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 ChatBoostLink
impl PartialEq for ChatBoostLink
Source§impl Serialize for ChatBoostLink
impl Serialize for ChatBoostLink
impl StructuralPartialEq for ChatBoostLink
Auto Trait Implementations§
impl Freeze for ChatBoostLink
impl RefUnwindSafe for ChatBoostLink
impl Send for ChatBoostLink
impl Sync for ChatBoostLink
impl Unpin for ChatBoostLink
impl UnwindSafe for ChatBoostLink
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