pub struct MasterDataParams {
pub name: Option<String>,
pub id: Option<i32>,
pub code: Option<String>,
pub narcotic: Option<u8>,
pub psychotropic: Option<u8>,
pub narcotic_or_psychotropic: Option<u8>,
pub in_use: Option<u8>,
pub page: Option<u32>,
}Expand description
Master data search parameters
Fields§
§name: Option<String>Element name
id: Option<i32>Element ID
code: Option<String>Element code
narcotic: Option<u8>1: narcotics (only for active ingredients)
psychotropic: Option<u8>1: psychotropics (only for active ingredients)
narcotic_or_psychotropic: Option<u8>1: narcotics or psychotropics (only for active ingredients)
in_use: Option<u8>0: returns both associated with medications and those that are not
page: Option<u32>Page number
Implementations§
Trait Implementations§
Source§impl Clone for MasterDataParams
impl Clone for MasterDataParams
Source§fn clone(&self) -> MasterDataParams
fn clone(&self) -> MasterDataParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MasterDataParams
impl Debug for MasterDataParams
Source§impl Default for MasterDataParams
impl Default for MasterDataParams
Source§fn default() -> MasterDataParams
fn default() -> MasterDataParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MasterDataParams
impl RefUnwindSafe for MasterDataParams
impl Send for MasterDataParams
impl Sync for MasterDataParams
impl Unpin for MasterDataParams
impl UnsafeUnpin for MasterDataParams
impl UnwindSafe for MasterDataParams
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