pub struct InternalLinkTypePremiumFeatures {
pub referrer: String,
}
Expand description
The link is a link to the Premium features screen of the application from which the user can subscribe to Telegram Premium. Call getPremiumFeatures with the given referrer to process the link
Fields§
§referrer: String
Referrer specified in the link
Trait Implementations§
Source§impl Clone for InternalLinkTypePremiumFeatures
impl Clone for InternalLinkTypePremiumFeatures
Source§fn clone(&self) -> InternalLinkTypePremiumFeatures
fn clone(&self) -> InternalLinkTypePremiumFeatures
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 InternalLinkTypePremiumFeatures
impl Default for InternalLinkTypePremiumFeatures
Source§fn default() -> InternalLinkTypePremiumFeatures
fn default() -> InternalLinkTypePremiumFeatures
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InternalLinkTypePremiumFeatures
impl<'de> Deserialize<'de> for InternalLinkTypePremiumFeatures
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 InternalLinkTypePremiumFeatures
impl PartialEq for InternalLinkTypePremiumFeatures
Source§fn eq(&self, other: &InternalLinkTypePremiumFeatures) -> bool
fn eq(&self, other: &InternalLinkTypePremiumFeatures) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for InternalLinkTypePremiumFeatures
Auto Trait Implementations§
impl Freeze for InternalLinkTypePremiumFeatures
impl RefUnwindSafe for InternalLinkTypePremiumFeatures
impl Send for InternalLinkTypePremiumFeatures
impl Sync for InternalLinkTypePremiumFeatures
impl Unpin for InternalLinkTypePremiumFeatures
impl UnwindSafe for InternalLinkTypePremiumFeatures
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