Imported from zhoudongchao9-cloud/blueprint-repl (
crates/core/src/ext_traits/job/AGENTS.md). Install upstream withnpx skills add zhoudongchao9-cloud/blueprint-repl --skill job. Copyright stays with the author.
job
Purpose
Extension traits that add convenience extractor methods to JobCall and Parts, following a sealed-trait pattern so they cannot be implemented outside this crate.
Contents (one hop)
Subdirectories
- (none)
Files
mod.rs- Re-exportscallandpartsmodules.call.rs-JobCallExtsealed trait onJobCallwithextract,extract_with_context,extract_parts,extract_parts_with_context. Delegates toFromJobCall/FromJobCallPartsextractors.parts.rs-JobCallPartsExtsealed trait onPartswithextractandextract_with_ctx. Delegates toFromJobCallPartsextractors.
Key APIs
JobCallExttrait (sealed, implemented forJobCall) -- apply extractors that consume or borrow a job callJobCallPartsExttrait (sealed, implemented forParts) -- apply extractors to call metadata without consuming the body
Relationships
- Depends on
crate::JobCall,crate::job::call::Parts,crate::extract::{FromJobCall, FromJobCallParts} - Re-exported through
blueprint-coreandblueprint-sdkpublic API
