pub enum ChatRevenueTransactionType {
Earnings(ChatRevenueTransactionTypeEarnings),
Withdrawal(ChatRevenueTransactionTypeWithdrawal),
Refund(ChatRevenueTransactionTypeRefund),
}
Variants§
Earnings(ChatRevenueTransactionTypeEarnings)
Describes earnings from sponsored messages in a chat in some time frame
Withdrawal(ChatRevenueTransactionTypeWithdrawal)
Describes a withdrawal of earnings
Refund(ChatRevenueTransactionTypeRefund)
Describes a refund for failed withdrawal of earnings
Trait Implementations§
Source§impl Clone for ChatRevenueTransactionType
impl Clone for ChatRevenueTransactionType
Source§fn clone(&self) -> ChatRevenueTransactionType
fn clone(&self) -> ChatRevenueTransactionType
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 ChatRevenueTransactionType
impl Debug for ChatRevenueTransactionType
Source§impl<'de> Deserialize<'de> for ChatRevenueTransactionType
impl<'de> Deserialize<'de> for ChatRevenueTransactionType
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
impl StructuralPartialEq for ChatRevenueTransactionType
Auto Trait Implementations§
impl Freeze for ChatRevenueTransactionType
impl RefUnwindSafe for ChatRevenueTransactionType
impl Send for ChatRevenueTransactionType
impl Sync for ChatRevenueTransactionType
impl Unpin for ChatRevenueTransactionType
impl UnwindSafe for ChatRevenueTransactionType
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