pub struct PaymentFormTypeStarSubscription {
pub pricing: StarSubscriptionPricing,
}Expand description
The payment form is for a payment in Telegram Stars for subscription
Fields§
§pricing: StarSubscriptionPricingInformation about subscription plan
Trait Implementations§
Source§impl Clone for PaymentFormTypeStarSubscription
impl Clone for PaymentFormTypeStarSubscription
Source§fn clone(&self) -> PaymentFormTypeStarSubscription
fn clone(&self) -> PaymentFormTypeStarSubscription
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 PaymentFormTypeStarSubscription
impl Default for PaymentFormTypeStarSubscription
Source§fn default() -> PaymentFormTypeStarSubscription
fn default() -> PaymentFormTypeStarSubscription
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaymentFormTypeStarSubscription
impl<'de> Deserialize<'de> for PaymentFormTypeStarSubscription
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 PaymentFormTypeStarSubscription
impl PartialEq for PaymentFormTypeStarSubscription
Source§fn eq(&self, other: &PaymentFormTypeStarSubscription) -> bool
fn eq(&self, other: &PaymentFormTypeStarSubscription) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PaymentFormTypeStarSubscription
Auto Trait Implementations§
impl Freeze for PaymentFormTypeStarSubscription
impl RefUnwindSafe for PaymentFormTypeStarSubscription
impl Send for PaymentFormTypeStarSubscription
impl Sync for PaymentFormTypeStarSubscription
impl Unpin for PaymentFormTypeStarSubscription
impl UnsafeUnpin for PaymentFormTypeStarSubscription
impl UnwindSafe for PaymentFormTypeStarSubscription
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