pub struct ProductOrder {
pub base: BaseEntity,
pub state: OrderState,
pub order_item: Option<Vec<OrderItem>>,
pub related_party: Option<Vec<RelatedParty>>,
pub order_date: Option<DateTime<Utc>>,
pub expected_completion_date: Option<DateTime<Utc>>,
pub priority: Option<String>,
}Expand description
Product Order - Represents a customer order for products
Fields§
§base: BaseEntity§state: OrderStateOrder state
order_item: Option<Vec<OrderItem>>Order items
Related party (customer)
order_date: Option<DateTime<Utc>>Order date
expected_completion_date: Option<DateTime<Utc>>Expected completion date
priority: Option<String>Priority
Trait Implementations§
Source§impl Clone for ProductOrder
impl Clone for ProductOrder
Source§fn clone(&self) -> ProductOrder
fn clone(&self) -> ProductOrder
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 ProductOrder
impl Debug for ProductOrder
Source§impl<'de> Deserialize<'de> for ProductOrder
impl<'de> Deserialize<'de> for ProductOrder
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
Source§impl Serialize for ProductOrder
impl Serialize for ProductOrder
Auto Trait Implementations§
impl Freeze for ProductOrder
impl RefUnwindSafe for ProductOrder
impl Send for ProductOrder
impl Sync for ProductOrder
impl Unpin for ProductOrder
impl UnsafeUnpin for ProductOrder
impl UnwindSafe for ProductOrder
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more