pub struct StarTransactionTypeFragmentWithdrawal {
pub withdrawal_state: Option<RevenueWithdrawalState>,
}Expand description
The transaction is a withdrawal of earned Telegram Stars to Fragment; relevant for regular users, bots, supergroup and channel chats only
Fields§
§withdrawal_state: Option<RevenueWithdrawalState>State of the withdrawal; may be null for refunds from Fragment
Trait Implementations§
Source§impl Clone for StarTransactionTypeFragmentWithdrawal
impl Clone for StarTransactionTypeFragmentWithdrawal
Source§fn clone(&self) -> StarTransactionTypeFragmentWithdrawal
fn clone(&self) -> StarTransactionTypeFragmentWithdrawal
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 StarTransactionTypeFragmentWithdrawal
impl Default for StarTransactionTypeFragmentWithdrawal
Source§fn default() -> StarTransactionTypeFragmentWithdrawal
fn default() -> StarTransactionTypeFragmentWithdrawal
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StarTransactionTypeFragmentWithdrawal
impl<'de> Deserialize<'de> for StarTransactionTypeFragmentWithdrawal
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 StarTransactionTypeFragmentWithdrawal
impl PartialEq for StarTransactionTypeFragmentWithdrawal
Source§fn eq(&self, other: &StarTransactionTypeFragmentWithdrawal) -> bool
fn eq(&self, other: &StarTransactionTypeFragmentWithdrawal) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StarTransactionTypeFragmentWithdrawal
Auto Trait Implementations§
impl Freeze for StarTransactionTypeFragmentWithdrawal
impl RefUnwindSafe for StarTransactionTypeFragmentWithdrawal
impl Send for StarTransactionTypeFragmentWithdrawal
impl Sync for StarTransactionTypeFragmentWithdrawal
impl Unpin for StarTransactionTypeFragmentWithdrawal
impl UnsafeUnpin for StarTransactionTypeFragmentWithdrawal
impl UnwindSafe for StarTransactionTypeFragmentWithdrawal
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