pub struct DeliveryRequested {
pub delivery_number: String,
pub branch_id: Option<Uuid>,
pub customer_id: Uuid,
pub source_so_id: Option<Uuid>,
pub warehouse_id: Uuid,
pub posting_date: NaiveDate,
pub currency: String,
pub cogs_account_id: Uuid,
pub inventory_account_id: Uuid,
pub lines: Vec<DeliveryRequestLine>,
}Expand description
The inbound request selling emits to have stock shipped for a confirmed order.
Fields§
§delivery_number: String§branch_id: Option<Uuid>§customer_id: Uuid§source_so_id: Option<Uuid>§warehouse_id: Uuid§posting_date: NaiveDate§currency: StringLedger currency of the GL post (defaults to “IDR” when omitted).
cogs_account_id: UuidGL accounts are inventory config, supplied by the composing service (not by selling).
inventory_account_id: Uuid§lines: Vec<DeliveryRequestLine>Trait Implementations§
Source§impl Clone for DeliveryRequested
impl Clone for DeliveryRequested
Source§impl Debug for DeliveryRequested
impl Debug for DeliveryRequested
Source§impl<'de> Deserialize<'de> for DeliveryRequested
impl<'de> Deserialize<'de> for DeliveryRequested
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 PartialEq for DeliveryRequested
impl PartialEq for DeliveryRequested
Source§impl Serialize for DeliveryRequested
impl Serialize for DeliveryRequested
impl StructuralPartialEq for DeliveryRequested
Auto Trait Implementations§
impl Freeze for DeliveryRequested
impl RefUnwindSafe for DeliveryRequested
impl Send for DeliveryRequested
impl Sync for DeliveryRequested
impl Unpin for DeliveryRequested
impl UnsafeUnpin for DeliveryRequested
impl UnwindSafe for DeliveryRequested
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