pub struct MetrcWrapper {Show 26 fields
pub additives_templates: AdditivesTemplatesService,
pub caregivers_status: CaregiversStatusService,
pub employees: EmployeesService,
pub facilities: FacilitiesService,
pub harvests: HarvestsService,
pub items: ItemsService,
pub lab_tests: LabTestsService,
pub locations: LocationsService,
pub packages: PackagesService,
pub patient_check_ins: PatientCheckInsService,
pub patients: PatientsService,
pub patients_status: PatientsStatusService,
pub plant_batches: PlantBatchesService,
pub plants: PlantsService,
pub processing_job: ProcessingJobService,
pub retail_id: RetailIdService,
pub sales: SalesService,
pub sandbox: SandboxService,
pub strains: StrainsService,
pub sublocations: SublocationsService,
pub tags: TagsService,
pub transfers: TransfersService,
pub transporters: TransportersService,
pub units_of_measure: UnitsOfMeasureService,
pub waste_methods: WasteMethodsService,
pub webhooks: WebhooksService,
}Fields§
§additives_templates: AdditivesTemplatesService§caregivers_status: CaregiversStatusService§employees: EmployeesService§facilities: FacilitiesService§harvests: HarvestsService§items: ItemsService§lab_tests: LabTestsService§locations: LocationsService§packages: PackagesService§patient_check_ins: PatientCheckInsService§patients: PatientsService§patients_status: PatientsStatusService§plant_batches: PlantBatchesService§plants: PlantsService§processing_job: ProcessingJobService§retail_id: RetailIdService§sales: SalesService§sandbox: SandboxService§strains: StrainsService§sublocations: SublocationsService§transfers: TransfersService§transporters: TransportersService§units_of_measure: UnitsOfMeasureService§waste_methods: WasteMethodsService§webhooks: WebhooksServiceImplementations§
Source§impl MetrcWrapper
impl MetrcWrapper
pub fn new(client: MetrcClient) -> Self
pub fn new_with_config(client: MetrcClient, config: RateLimiterConfig) -> Self
pub fn new_with_limiter( client: MetrcClient, rate_limiter: Arc<MetrcRateLimiter>, ) -> Self
Auto Trait Implementations§
impl Freeze for MetrcWrapper
impl !RefUnwindSafe for MetrcWrapper
impl Send for MetrcWrapper
impl Sync for MetrcWrapper
impl Unpin for MetrcWrapper
impl UnsafeUnpin for MetrcWrapper
impl !UnwindSafe for MetrcWrapper
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