pub struct TransactionPartnerChat {
pub chat: Chat,
pub gift: Option<Gift>,
}Expand description
A transaction with a chat.
Fields§
§chat: ChatThe chat involved in the transaction.
gift: Option<Gift>The gift sent to the chat by the bot.
Trait Implementations§
Source§impl Clone for TransactionPartnerChat
impl Clone for TransactionPartnerChat
Source§fn clone(&self) -> TransactionPartnerChat
fn clone(&self) -> TransactionPartnerChat
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 Debug for TransactionPartnerChat
impl Debug for TransactionPartnerChat
Source§impl<'de> Deserialize<'de> for TransactionPartnerChat
impl<'de> Deserialize<'de> for TransactionPartnerChat
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
Auto Trait Implementations§
impl Freeze for TransactionPartnerChat
impl RefUnwindSafe for TransactionPartnerChat
impl Send for TransactionPartnerChat
impl Sync for TransactionPartnerChat
impl Unpin for TransactionPartnerChat
impl UnsafeUnpin for TransactionPartnerChat
impl UnwindSafe for TransactionPartnerChat
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