pub struct ChatRevenueTransactionTypeWithdrawal {
pub withdrawal_date: i32,
pub provider: String,
pub state: ChatRevenueWithdrawalState,
}Expand description
Describes a withdrawal of earnings
Fields§
§withdrawal_date: i32Point in time (Unix timestamp) when the earnings withdrawal started
provider: StringName of the payment provider
state: ChatRevenueWithdrawalStateState of the withdrawal
Trait Implementations§
Source§impl Clone for ChatRevenueTransactionTypeWithdrawal
impl Clone for ChatRevenueTransactionTypeWithdrawal
Source§fn clone(&self) -> ChatRevenueTransactionTypeWithdrawal
fn clone(&self) -> ChatRevenueTransactionTypeWithdrawal
Returns a copy 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<'de> Deserialize<'de> for ChatRevenueTransactionTypeWithdrawal
impl<'de> Deserialize<'de> for ChatRevenueTransactionTypeWithdrawal
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 ChatRevenueTransactionTypeWithdrawal
impl PartialEq for ChatRevenueTransactionTypeWithdrawal
Source§fn eq(&self, other: &ChatRevenueTransactionTypeWithdrawal) -> bool
fn eq(&self, other: &ChatRevenueTransactionTypeWithdrawal) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChatRevenueTransactionTypeWithdrawal
Auto Trait Implementations§
impl Freeze for ChatRevenueTransactionTypeWithdrawal
impl RefUnwindSafe for ChatRevenueTransactionTypeWithdrawal
impl Send for ChatRevenueTransactionTypeWithdrawal
impl Sync for ChatRevenueTransactionTypeWithdrawal
impl Unpin for ChatRevenueTransactionTypeWithdrawal
impl UnwindSafe for ChatRevenueTransactionTypeWithdrawal
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