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