pub struct StarTransactionTypeGiveawayDeposit {
pub chat_id: i64,
pub giveaway_message_id: i64,
}Expand description
The transaction is a deposit of Telegram Stars from a giveaway; relevant for regular users only
Fields§
§chat_id: i64Identifier of a supergroup or a channel chat that created the giveaway
giveaway_message_id: i64Identifier of the message with the giveaway; may be 0 or an identifier of a deleted message
Trait Implementations§
Source§impl Clone for StarTransactionTypeGiveawayDeposit
impl Clone for StarTransactionTypeGiveawayDeposit
Source§fn clone(&self) -> StarTransactionTypeGiveawayDeposit
fn clone(&self) -> StarTransactionTypeGiveawayDeposit
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 Default for StarTransactionTypeGiveawayDeposit
impl Default for StarTransactionTypeGiveawayDeposit
Source§fn default() -> StarTransactionTypeGiveawayDeposit
fn default() -> StarTransactionTypeGiveawayDeposit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StarTransactionTypeGiveawayDeposit
impl<'de> Deserialize<'de> for StarTransactionTypeGiveawayDeposit
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 StarTransactionTypeGiveawayDeposit
impl PartialEq for StarTransactionTypeGiveawayDeposit
Source§fn eq(&self, other: &StarTransactionTypeGiveawayDeposit) -> bool
fn eq(&self, other: &StarTransactionTypeGiveawayDeposit) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StarTransactionTypeGiveawayDeposit
Auto Trait Implementations§
impl Freeze for StarTransactionTypeGiveawayDeposit
impl RefUnwindSafe for StarTransactionTypeGiveawayDeposit
impl Send for StarTransactionTypeGiveawayDeposit
impl Sync for StarTransactionTypeGiveawayDeposit
impl Unpin for StarTransactionTypeGiveawayDeposit
impl UnsafeUnpin for StarTransactionTypeGiveawayDeposit
impl UnwindSafe for StarTransactionTypeGiveawayDeposit
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