pub struct GetNpcParams {
pub code: String,
}Expand description
struct for passing parameters to the method get_npc
Fields§
§code: StringThe code of the NPC.
Implementations§
Trait Implementations§
Source§impl Clone for GetNpcParams
impl Clone for GetNpcParams
Source§fn clone(&self) -> GetNpcParams
fn clone(&self) -> GetNpcParams
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 GetNpcParams
impl RefUnwindSafe for GetNpcParams
impl Send for GetNpcParams
impl Sync for GetNpcParams
impl Unpin for GetNpcParams
impl UnwindSafe for GetNpcParams
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