pub struct InternalLinkTypePremiumGiftPurchase {
pub referrer: String,
}Expand description
The link is a link to the screen for gifting Telegram Premium subscriptions to friends via inputInvoiceTelegram with telegramPaymentPurposePremiumGift payments or in-store purchases
Fields§
§referrer: StringReferrer specified in the link
Trait Implementations§
Source§impl Clone for InternalLinkTypePremiumGiftPurchase
impl Clone for InternalLinkTypePremiumGiftPurchase
Source§fn clone(&self) -> InternalLinkTypePremiumGiftPurchase
fn clone(&self) -> InternalLinkTypePremiumGiftPurchase
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 Default for InternalLinkTypePremiumGiftPurchase
impl Default for InternalLinkTypePremiumGiftPurchase
Source§fn default() -> InternalLinkTypePremiumGiftPurchase
fn default() -> InternalLinkTypePremiumGiftPurchase
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InternalLinkTypePremiumGiftPurchase
impl<'de> Deserialize<'de> for InternalLinkTypePremiumGiftPurchase
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 InternalLinkTypePremiumGiftPurchase
impl PartialEq for InternalLinkTypePremiumGiftPurchase
Source§fn eq(&self, other: &InternalLinkTypePremiumGiftPurchase) -> bool
fn eq(&self, other: &InternalLinkTypePremiumGiftPurchase) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InternalLinkTypePremiumGiftPurchase
Auto Trait Implementations§
impl Freeze for InternalLinkTypePremiumGiftPurchase
impl RefUnwindSafe for InternalLinkTypePremiumGiftPurchase
impl Send for InternalLinkTypePremiumGiftPurchase
impl Sync for InternalLinkTypePremiumGiftPurchase
impl Unpin for InternalLinkTypePremiumGiftPurchase
impl UnsafeUnpin for InternalLinkTypePremiumGiftPurchase
impl UnwindSafe for InternalLinkTypePremiumGiftPurchase
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