pub struct LotFilter {
pub sku: Option<String>,
pub lot_number: Option<String>,
pub status: Option<LotStatus>,
pub supplier_id: Option<Uuid>,
pub work_order_id: Option<Uuid>,
pub purchase_order_id: Option<Uuid>,
pub expiring_before: Option<DateTime<Utc>>,
pub expiring_after: Option<DateTime<Utc>>,
pub has_quantity: Option<bool>,
pub location_id: Option<i32>,
pub limit: Option<u32>,
pub offset: Option<u32>,
}Expand description
Filter for listing lots
Fields§
§sku: Option<String>§lot_number: Option<String>§status: Option<LotStatus>§supplier_id: Option<Uuid>§work_order_id: Option<Uuid>§purchase_order_id: Option<Uuid>§expiring_before: Option<DateTime<Utc>>§expiring_after: Option<DateTime<Utc>>§has_quantity: Option<bool>§location_id: Option<i32>§limit: Option<u32>§offset: Option<u32>Trait Implementations§
Source§impl<'de> Deserialize<'de> for LotFilter
impl<'de> Deserialize<'de> for LotFilter
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LotFilter, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LotFilter, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for LotFilter
impl Serialize for LotFilter
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for LotFilter
impl RefUnwindSafe for LotFilter
impl Send for LotFilter
impl Sync for LotFilter
impl Unpin for LotFilter
impl UnsafeUnpin for LotFilter
impl UnwindSafe for LotFilter
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