pub struct RecycledContentInput {
pub cobalt_pct: Option<f64>,
pub lithium_pct: Option<f64>,
pub nickel_pct: Option<f64>,
pub lead_pct: Option<f64>,
}Expand description
Declared recycled content percentages for the four regulated metals.
None means the metal is absent or undeclared — it is skipped in target
checks. Only declared values can fail a target check.
Fields§
§cobalt_pct: Option<f64>§lithium_pct: Option<f64>§nickel_pct: Option<f64>§lead_pct: Option<f64>Trait Implementations§
Source§impl Clone for RecycledContentInput
impl Clone for RecycledContentInput
Source§fn clone(&self) -> RecycledContentInput
fn clone(&self) -> RecycledContentInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RecycledContentInput
Auto Trait Implementations§
impl Freeze for RecycledContentInput
impl RefUnwindSafe for RecycledContentInput
impl Send for RecycledContentInput
impl Sync for RecycledContentInput
impl Unpin for RecycledContentInput
impl UnsafeUnpin for RecycledContentInput
impl UnwindSafe for RecycledContentInput
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