pub struct StarTransactionTypePaidMessageReceive {
pub sender_id: MessageSender,
pub message_count: i32,
pub commission_per_mille: i32,
pub commission_star_amount: StarAmount,
}Expand description
The transaction is a receiving of a paid message; relevant for regular users, supergroup and channel chats only
Fields§
§sender_id: MessageSenderIdentifier of the sender of the message
message_count: i32Number of received paid messages
commission_per_mille: i32The number of Telegram Stars received by the Telegram for each 1000 Telegram Stars paid for message sending
commission_star_amount: StarAmountThe Telegram Star amount that was received by Telegram; can be negative for refunds
Trait Implementations§
Source§impl Clone for StarTransactionTypePaidMessageReceive
impl Clone for StarTransactionTypePaidMessageReceive
Source§fn clone(&self) -> StarTransactionTypePaidMessageReceive
fn clone(&self) -> StarTransactionTypePaidMessageReceive
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<'de> Deserialize<'de> for StarTransactionTypePaidMessageReceive
impl<'de> Deserialize<'de> for StarTransactionTypePaidMessageReceive
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 StarTransactionTypePaidMessageReceive
impl PartialEq for StarTransactionTypePaidMessageReceive
Source§fn eq(&self, other: &StarTransactionTypePaidMessageReceive) -> bool
fn eq(&self, other: &StarTransactionTypePaidMessageReceive) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StarTransactionTypePaidMessageReceive
Auto Trait Implementations§
impl Freeze for StarTransactionTypePaidMessageReceive
impl RefUnwindSafe for StarTransactionTypePaidMessageReceive
impl Send for StarTransactionTypePaidMessageReceive
impl Sync for StarTransactionTypePaidMessageReceive
impl Unpin for StarTransactionTypePaidMessageReceive
impl UnsafeUnpin for StarTransactionTypePaidMessageReceive
impl UnwindSafe for StarTransactionTypePaidMessageReceive
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