pub struct StarTransactionTypePaidMessageSend {
pub chat_id: i64,
pub message_count: i32,
}Expand description
The transaction is a sending of a paid message; relevant for regular users only
Fields§
§chat_id: i64Identifier of the chat that received the payment
message_count: i32Number of sent paid messages
Trait Implementations§
Source§impl Clone for StarTransactionTypePaidMessageSend
impl Clone for StarTransactionTypePaidMessageSend
Source§fn clone(&self) -> StarTransactionTypePaidMessageSend
fn clone(&self) -> StarTransactionTypePaidMessageSend
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 StarTransactionTypePaidMessageSend
impl Default for StarTransactionTypePaidMessageSend
Source§fn default() -> StarTransactionTypePaidMessageSend
fn default() -> StarTransactionTypePaidMessageSend
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StarTransactionTypePaidMessageSend
impl<'de> Deserialize<'de> for StarTransactionTypePaidMessageSend
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 StarTransactionTypePaidMessageSend
impl PartialEq for StarTransactionTypePaidMessageSend
Source§fn eq(&self, other: &StarTransactionTypePaidMessageSend) -> bool
fn eq(&self, other: &StarTransactionTypePaidMessageSend) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StarTransactionTypePaidMessageSend
Auto Trait Implementations§
impl Freeze for StarTransactionTypePaidMessageSend
impl RefUnwindSafe for StarTransactionTypePaidMessageSend
impl Send for StarTransactionTypePaidMessageSend
impl Sync for StarTransactionTypePaidMessageSend
impl Unpin for StarTransactionTypePaidMessageSend
impl UnsafeUnpin for StarTransactionTypePaidMessageSend
impl UnwindSafe for StarTransactionTypePaidMessageSend
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