pub struct GetAllNpcsParams {
pub name: Option<String>,
pub type: Option<NpcType>,
pub page: Option<u32>,
pub size: Option<u32>,
}Expand description
struct for passing parameters to the method get_all_npcs
Fields§
§name: Option<String>Name of the npc.
type: Option<NpcType>The type of the NPC.
page: Option<u32>Page number
size: Option<u32>Page size
Implementations§
Trait Implementations§
Source§impl Clone for GetAllNpcsParams
impl Clone for GetAllNpcsParams
Source§fn clone(&self) -> GetAllNpcsParams
fn clone(&self) -> GetAllNpcsParams
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 GetAllNpcsParams
impl RefUnwindSafe for GetAllNpcsParams
impl Send for GetAllNpcsParams
impl Sync for GetAllNpcsParams
impl Unpin for GetAllNpcsParams
impl UnwindSafe for GetAllNpcsParams
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