pub struct AuthorizationStateWaitPremiumPurchase {
pub store_product_id: String,
pub support_email_address: String,
pub support_email_subject: String,
}Expand description
The user must buy Telegram Premium as an in-store purchase to log in. Call checkAuthenticationPremiumPurchase and then setAuthenticationPremiumPurchaseTransaction
Fields§
§store_product_id: StringIdentifier of the store product that must be bought
support_email_address: StringEmail address to use for support if the user has issues with Telegram Premium purchase
support_email_subject: StringSubject for the email sent to the support email address
Trait Implementations§
Source§impl Clone for AuthorizationStateWaitPremiumPurchase
impl Clone for AuthorizationStateWaitPremiumPurchase
Source§fn clone(&self) -> AuthorizationStateWaitPremiumPurchase
fn clone(&self) -> AuthorizationStateWaitPremiumPurchase
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 AuthorizationStateWaitPremiumPurchase
impl Default for AuthorizationStateWaitPremiumPurchase
Source§fn default() -> AuthorizationStateWaitPremiumPurchase
fn default() -> AuthorizationStateWaitPremiumPurchase
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthorizationStateWaitPremiumPurchase
impl<'de> Deserialize<'de> for AuthorizationStateWaitPremiumPurchase
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 AuthorizationStateWaitPremiumPurchase
impl PartialEq for AuthorizationStateWaitPremiumPurchase
Source§fn eq(&self, other: &AuthorizationStateWaitPremiumPurchase) -> bool
fn eq(&self, other: &AuthorizationStateWaitPremiumPurchase) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AuthorizationStateWaitPremiumPurchase
Auto Trait Implementations§
impl Freeze for AuthorizationStateWaitPremiumPurchase
impl RefUnwindSafe for AuthorizationStateWaitPremiumPurchase
impl Send for AuthorizationStateWaitPremiumPurchase
impl Sync for AuthorizationStateWaitPremiumPurchase
impl Unpin for AuthorizationStateWaitPremiumPurchase
impl UnsafeUnpin for AuthorizationStateWaitPremiumPurchase
impl UnwindSafe for AuthorizationStateWaitPremiumPurchase
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