pub struct StarTransactionTypeSuggestedPostPaymentReceive {
pub user_id: i64,
}Expand description
The transaction is a receiving of a payment for a suggested post by the channel chat; relevant for channel chats only
Fields§
§user_id: i64Identifier of the user who paid for the suggested post
Trait Implementations§
Source§impl Clone for StarTransactionTypeSuggestedPostPaymentReceive
impl Clone for StarTransactionTypeSuggestedPostPaymentReceive
Source§fn clone(&self) -> StarTransactionTypeSuggestedPostPaymentReceive
fn clone(&self) -> StarTransactionTypeSuggestedPostPaymentReceive
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 StarTransactionTypeSuggestedPostPaymentReceive
impl Default for StarTransactionTypeSuggestedPostPaymentReceive
Source§fn default() -> StarTransactionTypeSuggestedPostPaymentReceive
fn default() -> StarTransactionTypeSuggestedPostPaymentReceive
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StarTransactionTypeSuggestedPostPaymentReceive
impl<'de> Deserialize<'de> for StarTransactionTypeSuggestedPostPaymentReceive
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 StarTransactionTypeSuggestedPostPaymentReceive
impl PartialEq for StarTransactionTypeSuggestedPostPaymentReceive
Source§fn eq(&self, other: &StarTransactionTypeSuggestedPostPaymentReceive) -> bool
fn eq(&self, other: &StarTransactionTypeSuggestedPostPaymentReceive) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StarTransactionTypeSuggestedPostPaymentReceive
Auto Trait Implementations§
impl Freeze for StarTransactionTypeSuggestedPostPaymentReceive
impl RefUnwindSafe for StarTransactionTypeSuggestedPostPaymentReceive
impl Send for StarTransactionTypeSuggestedPostPaymentReceive
impl Sync for StarTransactionTypeSuggestedPostPaymentReceive
impl Unpin for StarTransactionTypeSuggestedPostPaymentReceive
impl UnsafeUnpin for StarTransactionTypeSuggestedPostPaymentReceive
impl UnwindSafe for StarTransactionTypeSuggestedPostPaymentReceive
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