pub struct GiveawayPrizeStars {
pub star_count: i64,
}Expand description
The giveaway sends Telegram Stars to the winners
Fields§
§star_count: i64Number of Telegram Stars that will be shared by all winners
Trait Implementations§
Source§impl Clone for GiveawayPrizeStars
impl Clone for GiveawayPrizeStars
Source§fn clone(&self) -> GiveawayPrizeStars
fn clone(&self) -> GiveawayPrizeStars
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GiveawayPrizeStars
impl Debug for GiveawayPrizeStars
Source§impl Default for GiveawayPrizeStars
impl Default for GiveawayPrizeStars
Source§fn default() -> GiveawayPrizeStars
fn default() -> GiveawayPrizeStars
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GiveawayPrizeStars
impl<'de> Deserialize<'de> for GiveawayPrizeStars
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 GiveawayPrizeStars
impl PartialEq for GiveawayPrizeStars
Source§fn eq(&self, other: &GiveawayPrizeStars) -> bool
fn eq(&self, other: &GiveawayPrizeStars) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GiveawayPrizeStars
impl Serialize for GiveawayPrizeStars
impl StructuralPartialEq for GiveawayPrizeStars
Auto Trait Implementations§
impl Freeze for GiveawayPrizeStars
impl RefUnwindSafe for GiveawayPrizeStars
impl Send for GiveawayPrizeStars
impl Sync for GiveawayPrizeStars
impl Unpin for GiveawayPrizeStars
impl UnsafeUnpin for GiveawayPrizeStars
impl UnwindSafe for GiveawayPrizeStars
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