pub struct AddChargeParams {
pub client: Option<i64>,
pub charge: Option<f64>,
pub description: Option<String>,
pub test: bool,
}Expand description
- Adds a Charge to a specific Reseller Client
Parameters for Client::add_charge (wire method addCharge).
Fields§
§client: Option<i64>ID for a specific Reseller Client (Example: 561115) (required)
charge: Option<f64>Amount of money that will be Debited from the customer (Example: 4.99) (required)
description: Option<String>Charge Description
test: boolSet to true if testing how adding charges works
Trait Implementations§
Source§impl Clone for AddChargeParams
impl Clone for AddChargeParams
Source§fn clone(&self) -> AddChargeParams
fn clone(&self) -> AddChargeParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AddChargeParams
impl Debug for AddChargeParams
Source§impl Default for AddChargeParams
impl Default for AddChargeParams
Source§fn default() -> AddChargeParams
fn default() -> AddChargeParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AddChargeParams
impl RefUnwindSafe for AddChargeParams
impl Send for AddChargeParams
impl Sync for AddChargeParams
impl Unpin for AddChargeParams
impl UnsafeUnpin for AddChargeParams
impl UnwindSafe for AddChargeParams
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