pub struct SectionDraftResult {
pub sds: SdsRoot,
pub findings: Vec<Finding>,
}Expand description
A partial SDS draft covering only Section 1 (Identification) and
Section 3 (Composition) — the sections derivable from supplied product/
supplier/CAS/concentration data without product testing. Every other
SdsRoot field is left None.
Interim type: roadmap commit #10 introduces GenerationResult, which
carries additional fields (unresolved, provenance, evidence_summary,
release_status) that don’t exist yet. SectionDraftResult is expected
to be wrapped or replaced by GenerationResult at that point, not
extended in place — keep it minimal.
Fields§
§sds: SdsRoot§findings: Vec<Finding>Trait Implementations§
Source§impl Clone for SectionDraftResult
impl Clone for SectionDraftResult
Source§fn clone(&self) -> SectionDraftResult
fn clone(&self) -> SectionDraftResult
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 moreAuto Trait Implementations§
impl Freeze for SectionDraftResult
impl RefUnwindSafe for SectionDraftResult
impl Send for SectionDraftResult
impl Sync for SectionDraftResult
impl Unpin for SectionDraftResult
impl UnsafeUnpin for SectionDraftResult
impl UnwindSafe for SectionDraftResult
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
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