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