pub struct StockTransfer {
pub document_number: String,
pub company_code: String,
pub transfer_date: NaiveDate,
pub from_plant: String,
pub from_storage_location: String,
pub to_plant: String,
pub to_storage_location: String,
pub items: Vec<TransferItem>,
pub status: TransferStatus,
pub created_by: String,
pub created_at: DateTime<Utc>,
}Expand description
Stock transfer between locations.
Fields§
§document_number: StringTransfer document number.
company_code: StringCompany code.
transfer_date: NaiveDateTransfer date.
from_plant: StringFrom plant.
from_storage_location: StringFrom storage location.
to_plant: StringTo plant.
to_storage_location: StringTo storage location.
items: Vec<TransferItem>Items.
status: TransferStatusStatus.
created_by: StringCreated by.
created_at: DateTime<Utc>Created at.
Trait Implementations§
Source§impl Clone for StockTransfer
impl Clone for StockTransfer
Source§fn clone(&self) -> StockTransfer
fn clone(&self) -> StockTransfer
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 StockTransfer
impl Debug for StockTransfer
Source§impl<'de> Deserialize<'de> for StockTransfer
impl<'de> Deserialize<'de> for StockTransfer
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 StockTransfer
impl RefUnwindSafe for StockTransfer
impl Send for StockTransfer
impl Sync for StockTransfer
impl Unpin for StockTransfer
impl UnwindSafe for StockTransfer
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