pub struct InternalLinkTypeStarPurchase {
pub star_count: i64,
pub purpose: String,
}Expand description
The link is a link to the Telegram Star purchase section of the application
Fields§
§star_count: i64The number of Telegram Stars that must be owned by the user
purpose: StringPurpose of Telegram Star purchase. Arbitrary string specified by the server, for example, “subs” if the Telegram Stars are required to extend channel subscriptions
Trait Implementations§
Source§impl Clone for InternalLinkTypeStarPurchase
impl Clone for InternalLinkTypeStarPurchase
Source§fn clone(&self) -> InternalLinkTypeStarPurchase
fn clone(&self) -> InternalLinkTypeStarPurchase
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 Debug for InternalLinkTypeStarPurchase
impl Debug for InternalLinkTypeStarPurchase
Source§impl Default for InternalLinkTypeStarPurchase
impl Default for InternalLinkTypeStarPurchase
Source§fn default() -> InternalLinkTypeStarPurchase
fn default() -> InternalLinkTypeStarPurchase
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InternalLinkTypeStarPurchase
impl<'de> Deserialize<'de> for InternalLinkTypeStarPurchase
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 InternalLinkTypeStarPurchase
impl PartialEq for InternalLinkTypeStarPurchase
Source§fn eq(&self, other: &InternalLinkTypeStarPurchase) -> bool
fn eq(&self, other: &InternalLinkTypeStarPurchase) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InternalLinkTypeStarPurchase
Auto Trait Implementations§
impl Freeze for InternalLinkTypeStarPurchase
impl RefUnwindSafe for InternalLinkTypeStarPurchase
impl Send for InternalLinkTypeStarPurchase
impl Sync for InternalLinkTypeStarPurchase
impl Unpin for InternalLinkTypeStarPurchase
impl UnsafeUnpin for InternalLinkTypeStarPurchase
impl UnwindSafe for InternalLinkTypeStarPurchase
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