pub struct CreatePayoutThroughStoreRequest {
pub destination: Option<String>,
pub amount: Option<String>,
pub payment_method: Option<String>,
pub pull_payment_id: Option<String>,
pub approved: Option<bool>,
}Fields§
§destination: Option<String>The destination of the payout (can be an address or a BIP21 url)
amount: Option<String>The amount of the payout in the currency of the pull payment (eg. USD).
payment_method: Option<String>The payment method of the payout
pull_payment_id: Option<String>The pull payment to create this for. Optional.
approved: Option<bool>Whether to approve this payout automatically upon creation
Implementations§
Trait Implementations§
Source§impl Clone for CreatePayoutThroughStoreRequest
impl Clone for CreatePayoutThroughStoreRequest
Source§fn clone(&self) -> CreatePayoutThroughStoreRequest
fn clone(&self) -> CreatePayoutThroughStoreRequest
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 CreatePayoutThroughStoreRequest
impl Default for CreatePayoutThroughStoreRequest
Source§fn default() -> CreatePayoutThroughStoreRequest
fn default() -> CreatePayoutThroughStoreRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreatePayoutThroughStoreRequest
impl<'de> Deserialize<'de> for CreatePayoutThroughStoreRequest
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 CreatePayoutThroughStoreRequest
impl PartialEq for CreatePayoutThroughStoreRequest
Source§fn eq(&self, other: &CreatePayoutThroughStoreRequest) -> bool
fn eq(&self, other: &CreatePayoutThroughStoreRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreatePayoutThroughStoreRequest
Auto Trait Implementations§
impl Freeze for CreatePayoutThroughStoreRequest
impl RefUnwindSafe for CreatePayoutThroughStoreRequest
impl Send for CreatePayoutThroughStoreRequest
impl Sync for CreatePayoutThroughStoreRequest
impl Unpin for CreatePayoutThroughStoreRequest
impl UnwindSafe for CreatePayoutThroughStoreRequest
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