pub struct MessagePremiumGiveawayCompleted {
pub giveaway_message_id: i64,
pub winner_count: i32,
pub unclaimed_prize_count: i32,
}
Expand description
A Telegram Premium giveaway without public winners has been completed for the chat
Fields§
§giveaway_message_id: i64
Identifier of the message with the giveaway; can be 0 if the message was deleted
winner_count: i32
Number of winners in the giveaway
unclaimed_prize_count: i32
Number of undistributed prizes
Trait Implementations§
Source§impl Clone for MessagePremiumGiveawayCompleted
impl Clone for MessagePremiumGiveawayCompleted
Source§fn clone(&self) -> MessagePremiumGiveawayCompleted
fn clone(&self) -> MessagePremiumGiveawayCompleted
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 MessagePremiumGiveawayCompleted
impl Default for MessagePremiumGiveawayCompleted
Source§fn default() -> MessagePremiumGiveawayCompleted
fn default() -> MessagePremiumGiveawayCompleted
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessagePremiumGiveawayCompleted
impl<'de> Deserialize<'de> for MessagePremiumGiveawayCompleted
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 MessagePremiumGiveawayCompleted
impl PartialEq for MessagePremiumGiveawayCompleted
Source§fn eq(&self, other: &MessagePremiumGiveawayCompleted) -> bool
fn eq(&self, other: &MessagePremiumGiveawayCompleted) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MessagePremiumGiveawayCompleted
Auto Trait Implementations§
impl Freeze for MessagePremiumGiveawayCompleted
impl RefUnwindSafe for MessagePremiumGiveawayCompleted
impl Send for MessagePremiumGiveawayCompleted
impl Sync for MessagePremiumGiveawayCompleted
impl Unpin for MessagePremiumGiveawayCompleted
impl UnwindSafe for MessagePremiumGiveawayCompleted
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