pub struct PlannedChild {Show 13 fields
pub item_id: Uuid,
pub item_number: String,
pub item_name: String,
pub quantity: f64,
pub quantity_source: QuantitySource,
pub quantity_label: &'static str,
pub quantity_text: String,
pub bom_quantity_text: Option<String>,
pub via: String,
pub status: ChildStatus,
pub status_label: &'static str,
pub bom_quantity: Option<f64>,
pub selected: bool,
}Expand description
A child found in the CAD references.
Fields§
§item_id: Uuid§item_number: String§item_name: String§quantity: f64§quantity_source: QuantitySource§quantity_label: &'static str§quantity_text: StringThe quantities as shown (4, not 4.0).
bom_quantity_text: Option<String>§via: StringThe CAD file that references it and the referenced file.
status: ChildStatus§status_label: &'static str§bom_quantity: Option<f64>The quantity of the existing BOM line.
selected: boolTicked by default (new lines).
Trait Implementations§
Source§impl Clone for PlannedChild
impl Clone for PlannedChild
Source§impl Debug for PlannedChild
impl Debug for PlannedChild
Auto Trait Implementations§
impl Freeze for PlannedChild
impl RefUnwindSafe for PlannedChild
impl Send for PlannedChild
impl Sync for PlannedChild
impl Unpin for PlannedChild
impl UnsafeUnpin for PlannedChild
impl UnwindSafe for PlannedChild
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.