pub struct CatalogItem {Show 13 fields
pub catalog_item_id: String,
pub contract_id: String,
pub contract_line_number: u16,
pub vendor_id: String,
pub material_id: Option<String>,
pub description: String,
pub catalog_price: Decimal,
pub uom: String,
pub is_preferred: bool,
pub category: String,
pub min_order_quantity: Option<Decimal>,
pub lead_time_days: Option<u32>,
pub is_active: bool,
}Expand description
A catalog item available for ordering under a contract.
Fields§
§catalog_item_id: StringUnique catalog item identifier
contract_id: StringContract ID this item belongs to
contract_line_number: u16Contract line item number
vendor_id: StringVendor ID
material_id: Option<String>Material ID
description: StringItem description
catalog_price: DecimalCatalog price (from contract)
uom: StringUnit of measure
is_preferred: boolWhether this is the preferred item for this material
category: StringCategory for search/browse
min_order_quantity: Option<Decimal>Minimum order quantity
lead_time_days: Option<u32>Lead time in days
is_active: boolIs item active and orderable
Trait Implementations§
Source§impl Clone for CatalogItem
impl Clone for CatalogItem
Source§fn clone(&self) -> CatalogItem
fn clone(&self) -> CatalogItem
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 moreSource§impl Debug for CatalogItem
impl Debug for CatalogItem
Source§impl<'de> Deserialize<'de> for CatalogItem
impl<'de> Deserialize<'de> for CatalogItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CatalogItem
impl RefUnwindSafe for CatalogItem
impl Send for CatalogItem
impl Sync for CatalogItem
impl Unpin for CatalogItem
impl UnsafeUnpin for CatalogItem
impl UnwindSafe for CatalogItem
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