pub struct PaymentFormTypeStars {
pub star_count: i64,
}Expand description
The payment form is for a payment in Telegram Stars
Fields§
§star_count: i64Number of Telegram Stars that will be paid
Trait Implementations§
Source§impl Clone for PaymentFormTypeStars
impl Clone for PaymentFormTypeStars
Source§fn clone(&self) -> PaymentFormTypeStars
fn clone(&self) -> PaymentFormTypeStars
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 PaymentFormTypeStars
impl Debug for PaymentFormTypeStars
Source§impl Default for PaymentFormTypeStars
impl Default for PaymentFormTypeStars
Source§fn default() -> PaymentFormTypeStars
fn default() -> PaymentFormTypeStars
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaymentFormTypeStars
impl<'de> Deserialize<'de> for PaymentFormTypeStars
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 PaymentFormTypeStars
impl PartialEq for PaymentFormTypeStars
Source§impl Serialize for PaymentFormTypeStars
impl Serialize for PaymentFormTypeStars
impl StructuralPartialEq for PaymentFormTypeStars
Auto Trait Implementations§
impl Freeze for PaymentFormTypeStars
impl RefUnwindSafe for PaymentFormTypeStars
impl Send for PaymentFormTypeStars
impl Sync for PaymentFormTypeStars
impl Unpin for PaymentFormTypeStars
impl UnsafeUnpin for PaymentFormTypeStars
impl UnwindSafe for PaymentFormTypeStars
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