pub struct PurchaseOrder {Show 14 fields
pub id: String,
pub supplier_id: String,
pub status: String,
pub lines: Vec<PoLine>,
pub currency: String,
pub subtotal: f64,
pub tax: f64,
pub total: f64,
pub payment_terms: String,
pub delivery_date: Option<String>,
pub notes: Option<String>,
pub created_by: String,
pub approved_by: Option<String>,
pub created_at: String,
}Fields§
§id: String§supplier_id: String§status: String§lines: Vec<PoLine>§currency: String§subtotal: f64§tax: f64§total: f64§payment_terms: String§delivery_date: Option<String>§notes: Option<String>§created_by: String§approved_by: Option<String>§created_at: StringTrait Implementations§
Source§impl Clone for PurchaseOrder
impl Clone for PurchaseOrder
Source§fn clone(&self) -> PurchaseOrder
fn clone(&self) -> PurchaseOrder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PurchaseOrder
impl Debug for PurchaseOrder
Source§impl<'de> Deserialize<'de> for PurchaseOrder
impl<'de> Deserialize<'de> for PurchaseOrder
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 PurchaseOrder
impl RefUnwindSafe for PurchaseOrder
impl Send for PurchaseOrder
impl Sync for PurchaseOrder
impl Unpin for PurchaseOrder
impl UnsafeUnpin for PurchaseOrder
impl UnwindSafe for PurchaseOrder
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