Skip to main content

InTransit

Struct InTransit 

Source
pub struct InTransit {
Show 72 fields pub archived_date: Option<String>, pub contains_decontaminated_product: Option<bool>, pub contains_remediated_product: Option<bool>, pub decontamination_date: Option<String>, pub expiration_date: Option<String>, pub external_id: Option<i64>, pub finished_date: Option<String>, pub id: Option<i64>, pub initial_lab_testing_state: Option<String>, pub is_donation: Option<bool>, pub is_donation_persistent: Option<bool>, pub is_finished: Option<bool>, pub is_finished_good: Option<bool>, pub is_on_hold: Option<bool>, pub is_on_hold_combined: Option<bool>, pub is_on_investigation: Option<bool>, pub is_on_investigation_hold: Option<bool>, pub is_on_investigation_recall: Option<bool>, pub is_on_recall: Option<bool>, pub is_on_recall_combined: Option<bool>, pub is_on_retailer_delivery: Option<bool>, pub is_process_validation_testing_sample: Option<bool>, pub is_production_batch: Option<bool>, pub is_testing_sample: Option<bool>, pub is_trade_sample: Option<bool>, pub is_trade_sample_persistent: Option<bool>, pub item: Option<PackagesInTransitItem>, pub item_from_facility_license_number: Option<String>, pub item_from_facility_name: Option<String>, pub lab_test_result_expiration_date_time: Option<String>, pub lab_test_stage: Option<String>, pub lab_test_stage_id: Option<i64>, pub lab_testing_performed_date: Option<String>, pub lab_testing_recorded_date: Option<String>, pub lab_testing_state: Option<String>, pub lab_testing_state_date: Option<String>, pub label: Option<String>, pub labels_last_generated_date_time: Option<String>, pub last_modified: Option<String>, pub location_id: Option<i64>, pub location_name: Option<String>, pub location_type_name: Option<String>, pub note: Option<String>, pub original_package_quantity: Option<f64>, pub package_for_product_destruction: Option<String>, pub package_type: Option<String>, pub packaged_date: Option<String>, pub patient_license_number: Option<String>, pub product_label: Option<PackagesInTransitProductLabel>, pub product_requires_decontamination: Option<bool>, pub product_requires_remediation: Option<bool>, pub production_batch_number: Option<String>, pub quantity: Option<f64>, pub received_date_time: Option<String>, pub received_from_facility_license_number: Option<String>, pub received_from_facility_name: Option<String>, pub received_from_manifest_number: Option<String>, pub remediation_date: Option<String>, pub sell_by_date: Option<String>, pub source_harvest_count: Option<i64>, pub source_harvest_names: Option<String>, pub source_package_count: Option<i64>, pub source_package_is_donation: Option<bool>, pub source_package_is_trade_sample: Option<bool>, pub source_package_labels: Option<String>, pub source_processing_job_count: Option<i64>, pub source_production_batch_numbers: Option<String>, pub sublocation_id: Option<i64>, pub sublocation_name: Option<String>, pub unit_of_measure_abbreviation: Option<String>, pub unit_of_measure_name: Option<String>, pub use_by_date: Option<String>,
}

Fields§

§archived_date: Option<String>§contains_decontaminated_product: Option<bool>§contains_remediated_product: Option<bool>§decontamination_date: Option<String>§expiration_date: Option<String>§external_id: Option<i64>§finished_date: Option<String>§id: Option<i64>§initial_lab_testing_state: Option<String>§is_donation: Option<bool>§is_donation_persistent: Option<bool>§is_finished: Option<bool>§is_finished_good: Option<bool>§is_on_hold: Option<bool>§is_on_hold_combined: Option<bool>§is_on_investigation: Option<bool>§is_on_investigation_hold: Option<bool>§is_on_investigation_recall: Option<bool>§is_on_recall: Option<bool>§is_on_recall_combined: Option<bool>§is_on_retailer_delivery: Option<bool>§is_process_validation_testing_sample: Option<bool>§is_production_batch: Option<bool>§is_testing_sample: Option<bool>§is_trade_sample: Option<bool>§is_trade_sample_persistent: Option<bool>§item: Option<PackagesInTransitItem>§item_from_facility_license_number: Option<String>§item_from_facility_name: Option<String>§lab_test_result_expiration_date_time: Option<String>§lab_test_stage: Option<String>§lab_test_stage_id: Option<i64>§lab_testing_performed_date: Option<String>§lab_testing_recorded_date: Option<String>§lab_testing_state: Option<String>§lab_testing_state_date: Option<String>§label: Option<String>§labels_last_generated_date_time: Option<String>§last_modified: Option<String>§location_id: Option<i64>§location_name: Option<String>§location_type_name: Option<String>§note: Option<String>§original_package_quantity: Option<f64>§package_for_product_destruction: Option<String>§package_type: Option<String>§packaged_date: Option<String>§patient_license_number: Option<String>§product_label: Option<PackagesInTransitProductLabel>§product_requires_decontamination: Option<bool>§product_requires_remediation: Option<bool>§production_batch_number: Option<String>§quantity: Option<f64>§received_date_time: Option<String>§received_from_facility_license_number: Option<String>§received_from_facility_name: Option<String>§received_from_manifest_number: Option<String>§remediation_date: Option<String>§sell_by_date: Option<String>§source_harvest_count: Option<i64>§source_harvest_names: Option<String>§source_package_count: Option<i64>§source_package_is_donation: Option<bool>§source_package_is_trade_sample: Option<bool>§source_package_labels: Option<String>§source_processing_job_count: Option<i64>§source_production_batch_numbers: Option<String>§sublocation_id: Option<i64>§sublocation_name: Option<String>§unit_of_measure_abbreviation: Option<String>§unit_of_measure_name: Option<String>§use_by_date: Option<String>

Trait Implementations§

Source§

impl Clone for InTransit

Source§

fn clone(&self) -> InTransit

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for InTransit

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for InTransit

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for InTransit

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,