pub struct TransferDto {Show 18 fields
pub id: TransferId,
pub name: String,
pub origin: Option<String>,
pub note: Option<String>,
pub priority: Priority,
pub picking_type_id: Uuid,
pub location_id: Uuid,
pub location_dest_id: Uuid,
pub partner_id: Option<Uuid>,
pub move_type: MoveType,
pub scheduled_date: DateTime<Utc>,
pub date_done: Option<DateTime<Utc>>,
pub state: TransferState,
pub is_locked: bool,
pub backorder_id: Option<Uuid>,
pub return_id: Option<Uuid>,
pub batch_id: Option<Uuid>,
pub metadata: Value,
}Expand description
Data transfer object for Transfer
This is the public representation of Transfer for other modules.
Fields§
§id: TransferId§name: String§origin: Option<String>§note: Option<String>§priority: Priority§picking_type_id: Uuid§location_id: Uuid§location_dest_id: Uuid§partner_id: Option<Uuid>§move_type: MoveType§scheduled_date: DateTime<Utc>§date_done: Option<DateTime<Utc>>§state: TransferState§is_locked: bool§backorder_id: Option<Uuid>§return_id: Option<Uuid>§batch_id: Option<Uuid>§metadata: ValueTrait Implementations§
Source§impl Clone for TransferDto
impl Clone for TransferDto
Source§impl Debug for TransferDto
impl Debug for TransferDto
Source§impl<'de> Deserialize<'de> for TransferDto
impl<'de> Deserialize<'de> for TransferDto
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 TransferDto
impl RefUnwindSafe for TransferDto
impl Send for TransferDto
impl Sync for TransferDto
impl Unpin for TransferDto
impl UnsafeUnpin for TransferDto
impl UnwindSafe for TransferDto
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