pub struct TelegramPaymentPurposeJoinChat {
pub invite_link: String,
}Expand description
The user joins a chat and subscribes to regular payments in Telegram Stars
Fields§
§invite_link: StringInvite link to use
Trait Implementations§
Source§impl Clone for TelegramPaymentPurposeJoinChat
impl Clone for TelegramPaymentPurposeJoinChat
Source§fn clone(&self) -> TelegramPaymentPurposeJoinChat
fn clone(&self) -> TelegramPaymentPurposeJoinChat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for TelegramPaymentPurposeJoinChat
impl Default for TelegramPaymentPurposeJoinChat
Source§fn default() -> TelegramPaymentPurposeJoinChat
fn default() -> TelegramPaymentPurposeJoinChat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TelegramPaymentPurposeJoinChat
impl<'de> Deserialize<'de> for TelegramPaymentPurposeJoinChat
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 TelegramPaymentPurposeJoinChat
impl PartialEq for TelegramPaymentPurposeJoinChat
Source§fn eq(&self, other: &TelegramPaymentPurposeJoinChat) -> bool
fn eq(&self, other: &TelegramPaymentPurposeJoinChat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TelegramPaymentPurposeJoinChat
Auto Trait Implementations§
impl Freeze for TelegramPaymentPurposeJoinChat
impl RefUnwindSafe for TelegramPaymentPurposeJoinChat
impl Send for TelegramPaymentPurposeJoinChat
impl Sync for TelegramPaymentPurposeJoinChat
impl Unpin for TelegramPaymentPurposeJoinChat
impl UnsafeUnpin for TelegramPaymentPurposeJoinChat
impl UnwindSafe for TelegramPaymentPurposeJoinChat
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