pub enum Fingerprint {
Graph,
Script {
command: String,
args: Vec<Argument>,
files: Vec<LogicalPath>,
timeout_ms: Option<Duration>,
},
Artifactsum {
files: Vec<LogicalPath>,
ignore: IgnorePatterns,
},
}Expand description
The developer’s definition of what an Artifact’s reviews depend on: a script’s output or
artifactsum, the built-in hash of the Artifact’s own files. Its form is the plain
object; the script form keeps its script wrapper.
Variants§
Graph
Assigned by discovery only; it cannot be declared.
Script
Fields
§
files: Vec<LogicalPath>Owner-relative paths that must exist on every call; never hashed.
Artifactsum
Implementations§
Source§impl Fingerprint
impl Fingerprint
pub fn kind(&self) -> FingerprintKind
Trait Implementations§
Source§impl Clone for Fingerprint
impl Clone for Fingerprint
Source§impl Debug for Fingerprint
impl Debug for Fingerprint
Source§impl Default for Fingerprint
impl Default for Fingerprint
Source§impl<'de> Deserialize<'de> for Fingerprint
impl<'de> Deserialize<'de> for Fingerprint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&Fingerprint> for Fingerprint
impl From<&Fingerprint> for Fingerprint
Source§fn from(source: &Fingerprint) -> Self
fn from(source: &Fingerprint) -> Self
Converts to this type from the input type.
Source§impl From<Fingerprint> for Value
impl From<Fingerprint> for Value
Source§fn from(fingerprint: Fingerprint) -> Self
fn from(fingerprint: Fingerprint) -> Self
Converts to this type from the input type.
Source§impl Serialize for Fingerprint
impl Serialize for Fingerprint
Auto Trait Implementations§
impl Forget for Fingerprint
impl Freeze for Fingerprintwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Argument>: Freeze,
PhantomData<LogicalPath>: Freeze,
PhantomData<String>: Freeze,
PhantomData<GlobSetMatchStrategy>: Freeze,
PhantomData<Glob>: Freeze,
*const ArcInner<Pool<Vec<usize>>> is !null: Freeze,
PhantomData<ArcInner<Pool<Vec<usize>>>>: Freeze,
impl Move for Fingerprint
impl RefUnwindSafe for Fingerprintwhere
Atomic<usize>: RefUnwindSafe,
Pool<Cache, Box<dyn Fn() -> Cache + Sync + RefUnwindSafe + Send + UnwindSafe>>: RefUnwindSafe,
Pool<PatternSet, Box<dyn Fn() -> PatternSet + Sync + RefUnwindSafe + Send + UnwindSafe>>: RefUnwindSafe,
Pool<Vec<usize>, fn() -> Vec<usize>>: RefUnwindSafe,
impl Send for Fingerprintwhere
RawVecInner: Send,
RawTable<(Vec<u8>, Vec<usize>)>: Send,
Arc<dyn AcAutomaton>: Send,
RawTable<(Vec<u8>, Vec<(usize, Regex)>)>: Send,
Arc<RegexI>: Send,
BoxRaw<Pool<Cache, Box<dyn Fn() -> Cache + Sync + RefUnwindSafe + Send + UnwindSafe>>>: Send,
Arc<Pool<PatternSet, Box<dyn Fn() -> PatternSet + Sync + RefUnwindSafe + Send + UnwindSafe>>>: Send,
Arc<Pool<Vec<usize>>>: Send,
impl Sync for Fingerprintwhere
RawVecInner: Sync,
RawTable<(Vec<u8>, Vec<usize>)>: Sync,
Arc<dyn AcAutomaton>: Sync,
RawTable<(Vec<u8>, Vec<(usize, Regex)>)>: Sync,
Arc<RegexI>: Sync,
BoxRaw<Pool<Cache, Box<dyn Fn() -> Cache + Sync + RefUnwindSafe + Send + UnwindSafe>>>: Sync,
Arc<Pool<PatternSet, Box<dyn Fn() -> PatternSet + Sync + RefUnwindSafe + Send + UnwindSafe>>>: Sync,
Arc<Pool<Vec<usize>>>: Sync,
impl Unpin for Fingerprintwhere
*const u8 is !null: Unpin,
Arc<dyn AcAutomaton>: Unpin,
Arc<RegexI>: Unpin,
Box<Pool<Cache, Box<dyn Fn() -> Cache + Sync + RefUnwindSafe + Send + UnwindSafe>>>: Unpin,
Arc<Pool<PatternSet, Box<dyn Fn() -> PatternSet + Sync + RefUnwindSafe + Send + UnwindSafe>>>: Unpin,
Arc<Pool<Vec<usize>>>: Unpin,
impl UnsafeUnpin for Fingerprintwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Argument>: UnsafeUnpin,
PhantomData<LogicalPath>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<GlobSetMatchStrategy>: UnsafeUnpin,
PhantomData<Glob>: UnsafeUnpin,
*const ArcInner<Pool<Vec<usize>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Pool<Vec<usize>>>>: UnsafeUnpin,
impl UnwindSafe for Fingerprintwhere
RawVecInner: UnwindSafe,
HashMap<Vec<u8>, Vec<usize>, BuildHasherDefault<Hasher>>: UnwindSafe,
Arc<dyn AcAutomaton>: UnwindSafe,
HashMap<Vec<u8>, Vec<(usize, Regex)>, BuildHasherDefault<Hasher>>: UnwindSafe,
Arc<RegexI>: UnwindSafe,
BoxRaw<Pool<Cache, Box<dyn Fn() -> Cache + Sync + RefUnwindSafe + Send + UnwindSafe>>>: UnwindSafe,
Arc<Pool<PatternSet, Box<dyn Fn() -> PatternSet + Sync + RefUnwindSafe + Send + UnwindSafe>>>: UnwindSafe,
Arc<Pool<Vec<usize>>>: UnwindSafe,
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.