pub struct ChatRevenueTransaction {
pub cryptocurrency: String,
pub cryptocurrency_amount: i64,
pub type: ChatRevenueTransactionType,
}
Expand description
Contains a chat revenue transactions
Fields§
§cryptocurrency: String
Cryptocurrency in which revenue is calculated
cryptocurrency_amount: i64
The withdrawn amount, in the smallest units of the cryptocurrency
type: ChatRevenueTransactionType
Type of the transaction
Trait Implementations§
Source§impl Clone for ChatRevenueTransaction
impl Clone for ChatRevenueTransaction
Source§fn clone(&self) -> ChatRevenueTransaction
fn clone(&self) -> ChatRevenueTransaction
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 ChatRevenueTransaction
impl Debug for ChatRevenueTransaction
Source§impl<'de> Deserialize<'de> for ChatRevenueTransaction
impl<'de> Deserialize<'de> for ChatRevenueTransaction
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 ChatRevenueTransaction
impl PartialEq for ChatRevenueTransaction
Source§impl Serialize for ChatRevenueTransaction
impl Serialize for ChatRevenueTransaction
impl StructuralPartialEq for ChatRevenueTransaction
Auto Trait Implementations§
impl Freeze for ChatRevenueTransaction
impl RefUnwindSafe for ChatRevenueTransaction
impl Send for ChatRevenueTransaction
impl Sync for ChatRevenueTransaction
impl Unpin for ChatRevenueTransaction
impl UnwindSafe for ChatRevenueTransaction
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