pub struct ReplaceRow {Show 14 fields
pub line_id: Uuid,
pub find_number: i32,
pub quantity: f64,
pub parent_item_id: Uuid,
pub parent_number: String,
pub parent_revision_id: Uuid,
pub parent_code: String,
pub parent_name: String,
pub parent_state: String,
pub project_id: Option<Uuid>,
pub checked_out_by: Option<Uuid>,
pub checked_out_by_name: Option<String>,
pub action: Option<ReplaceAction>,
pub action_label: &'static str,
}Expand description
One BOM line of the latest revision of an assembly that uses the item.
Fields§
§line_id: Uuid§find_number: i32§quantity: f64§parent_item_id: Uuid§parent_number: String§parent_revision_id: Uuid§parent_code: String§parent_name: String§parent_state: String§project_id: Option<Uuid>§checked_out_by: Option<Uuid>§checked_out_by_name: Option<String>§action: Option<ReplaceAction>§action_label: &'static strTrait Implementations§
Source§impl Clone for ReplaceRow
impl Clone for ReplaceRow
Source§impl Debug for ReplaceRow
impl Debug for ReplaceRow
Source§impl<'a, R: Row> FromRow<'a, R> for ReplaceRowwhere
&'a str: ColumnIndex<R>,
Uuid: Decode<'a, R::Database> + Type<R::Database>,
i32: Decode<'a, R::Database> + Type<R::Database>,
f64: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
Option<Uuid>: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for ReplaceRowwhere
&'a str: ColumnIndex<R>,
Uuid: Decode<'a, R::Database> + Type<R::Database>,
i32: Decode<'a, R::Database> + Type<R::Database>,
f64: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
Option<Uuid>: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
Auto Trait Implementations§
impl Freeze for ReplaceRow
impl RefUnwindSafe for ReplaceRow
impl Send for ReplaceRow
impl Sync for ReplaceRow
impl Unpin for ReplaceRow
impl UnsafeUnpin for ReplaceRow
impl UnwindSafe for ReplaceRow
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<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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 moreimpl<T> Parallelizable for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.