pub struct MetrcClient { /* private fields */ }Implementations§
Source§impl MetrcClient
impl MetrcClient
pub fn new(base_url: &str, vendor_key: &str, user_key: &str) -> MetrcClient
pub fn additives_templates(&self) -> AdditivesTemplatesClient<'_>
pub fn caregivers_status(&self) -> CaregiversStatusClient<'_>
pub fn employees(&self) -> EmployeesClient<'_>
pub fn facilities(&self) -> FacilitiesClient<'_>
pub fn harvests(&self) -> HarvestsClient<'_>
pub fn items(&self) -> ItemsClient<'_>
pub fn lab_tests(&self) -> LabTestsClient<'_>
pub fn locations(&self) -> LocationsClient<'_>
pub fn packages(&self) -> PackagesClient<'_>
pub fn patient_check_ins(&self) -> PatientCheckInsClient<'_>
pub fn patients(&self) -> PatientsClient<'_>
pub fn patients_status(&self) -> PatientsStatusClient<'_>
pub fn plant_batches(&self) -> PlantBatchesClient<'_>
pub fn plants(&self) -> PlantsClient<'_>
pub fn processing_job(&self) -> ProcessingJobClient<'_>
pub fn retail_id(&self) -> RetailIdClient<'_>
pub fn sales(&self) -> SalesClient<'_>
pub fn sandbox(&self) -> SandboxClient<'_>
pub fn strains(&self) -> StrainsClient<'_>
pub fn sublocations(&self) -> SublocationsClient<'_>
pub fn transfers(&self) -> TransfersClient<'_>
pub fn transporters(&self) -> TransportersClient<'_>
pub fn units_of_measure(&self) -> UnitsOfMeasureClient<'_>
pub fn waste_methods(&self) -> WasteMethodsClient<'_>
pub fn webhooks(&self) -> WebhooksClient<'_>
Trait Implementations§
Source§impl Clone for MetrcClient
impl Clone for MetrcClient
Source§fn clone(&self) -> MetrcClient
fn clone(&self) -> MetrcClient
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 MetrcClient
impl !RefUnwindSafe for MetrcClient
impl Send for MetrcClient
impl Sync for MetrcClient
impl Unpin for MetrcClient
impl UnsafeUnpin for MetrcClient
impl !UnwindSafe for MetrcClient
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