pub struct WithdrawGoldParams {
    pub name: String,
    pub deposit_withdraw_gold_schema: DepositWithdrawGoldSchema,
}Expand description
struct for passing parameters to the method withdraw_gold
Fields§
§name: StringName of your character.
deposit_withdraw_gold_schema: DepositWithdrawGoldSchemaImplementations§
Source§impl WithdrawGoldParams
 
impl WithdrawGoldParams
pub fn new( name: String, deposit_withdraw_gold_schema: DepositWithdrawGoldSchema, ) -> Self
Trait Implementations§
Source§impl Clone for WithdrawGoldParams
 
impl Clone for WithdrawGoldParams
Source§fn clone(&self) -> WithdrawGoldParams
 
fn clone(&self) -> WithdrawGoldParams
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 moreAuto Trait Implementations§
impl Freeze for WithdrawGoldParams
impl RefUnwindSafe for WithdrawGoldParams
impl Send for WithdrawGoldParams
impl Sync for WithdrawGoldParams
impl Unpin for WithdrawGoldParams
impl UnwindSafe for WithdrawGoldParams
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