pub struct RuleRow {Show 13 fields
pub id: Uuid,
pub name: String,
pub sequence: i32,
pub action: String,
pub auto: String,
pub procure_method: String,
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,
}Expand description
A stock.rule row as the procurement surface reads it (inventory.route_rules).
Fields§
§id: Uuid§name: String§sequence: i32§action: String§auto: String§procure_method: String§delay: i32§location_src_id: Option<Uuid>§location_dest_id: Uuid§picking_type_id: Uuid§route_id: Uuid§warehouse_id: Option<Uuid>§propagate_cancel: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for RuleRow
impl RefUnwindSafe for RuleRow
impl Send for RuleRow
impl Sync for RuleRow
impl Unpin for RuleRow
impl UnsafeUnpin for RuleRow
impl UnwindSafe for RuleRow
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,
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