pub struct UserPayoutData {
pub balance: Option<i32>,
pub payout_wallet: Option<PayoutWallet>,
pub payout_wallet_type: Option<PayoutWalletType>,
pub payout_address: Option<String>,
}
Expand description
UserPayoutData : Various data relating to the user’s payouts status (you can only see your own)
Fields§
§balance: Option<i32>
The payout balance available for the user to withdraw (note, you cannot modify this in a PATCH request)
payout_wallet: Option<PayoutWallet>
The wallet that the user has selected
payout_wallet_type: Option<PayoutWalletType>
The type of the user’s wallet
payout_address: Option<String>
The user’s payout address
Implementations§
Source§impl UserPayoutData
impl UserPayoutData
Sourcepub fn new() -> UserPayoutData
pub fn new() -> UserPayoutData
Various data relating to the user’s payouts status (you can only see your own)
Trait Implementations§
Source§impl Clone for UserPayoutData
impl Clone for UserPayoutData
Source§fn clone(&self) -> UserPayoutData
fn clone(&self) -> UserPayoutData
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 UserPayoutData
impl Debug for UserPayoutData
Source§impl Default for UserPayoutData
impl Default for UserPayoutData
Source§fn default() -> UserPayoutData
fn default() -> UserPayoutData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserPayoutData
impl<'de> Deserialize<'de> for UserPayoutData
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 UserPayoutData
impl PartialEq for UserPayoutData
Source§impl Serialize for UserPayoutData
impl Serialize for UserPayoutData
impl StructuralPartialEq for UserPayoutData
Auto Trait Implementations§
impl Freeze for UserPayoutData
impl RefUnwindSafe for UserPayoutData
impl Send for UserPayoutData
impl Sync for UserPayoutData
impl Unpin for UserPayoutData
impl UnwindSafe for UserPayoutData
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