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