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