pub struct RouteRuleDto {Show 15 fields
pub id: RouteRuleId,
pub name: String,
pub active: bool,
pub sequence: i32,
pub action: RuleAction,
pub auto: RuleAuto,
pub procure_method: ProcureMethod,
pub delay: i32,
pub location_src_id: Option<Uuid>,
pub location_dest_id: Uuid,
pub picking_type_id: Uuid,
pub route_id: Uuid,
pub warehouse_id: Option<Uuid>,
pub propagate_cancel: bool,
pub metadata: Value,
}Expand description
Data transfer object for RouteRule
This is the public representation of RouteRule for other modules.
Fields§
§id: RouteRuleId§name: String§active: bool§sequence: i32§action: RuleAction§auto: RuleAuto§procure_method: ProcureMethod§delay: i32§location_src_id: Option<Uuid>§location_dest_id: Uuid§picking_type_id: Uuid§route_id: Uuid§warehouse_id: Option<Uuid>§propagate_cancel: bool§metadata: ValueTrait Implementations§
Source§impl Clone for RouteRuleDto
impl Clone for RouteRuleDto
Source§impl Debug for RouteRuleDto
impl Debug for RouteRuleDto
Source§impl<'de> Deserialize<'de> for RouteRuleDto
impl<'de> Deserialize<'de> for RouteRuleDto
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 RouteRuleDto
impl RefUnwindSafe for RouteRuleDto
impl Send for RouteRuleDto
impl Sync for RouteRuleDto
impl Unpin for RouteRuleDto
impl UnsafeUnpin for RouteRuleDto
impl UnwindSafe for RouteRuleDto
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