pub enum LintIssueType {
TooLarge,
Duplicate,
MissingEmbedding,
LowConfidence,
SyntaxError,
ReservedCharacterLeak,
}Expand description
Type of lint issue for artifacts.
Variants§
TooLarge
Artifact is too large
Duplicate
Duplicate artifact detected
MissingEmbedding
Missing embedding
LowConfidence
Low confidence score
SyntaxError
Syntax-level markdown/content issue detected
ReservedCharacterLeak
Reserved character sequence leaked into context (e.g. unescaped @mention)
Trait Implementations§
Source§impl Clone for LintIssueType
impl Clone for LintIssueType
Source§fn clone(&self) -> LintIssueType
fn clone(&self) -> LintIssueType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LintIssueType
impl Debug for LintIssueType
Source§impl<'de> Deserialize<'de> for LintIssueType
impl<'de> Deserialize<'de> for LintIssueType
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 Hash for LintIssueType
impl Hash for LintIssueType
Source§impl PartialEq for LintIssueType
impl PartialEq for LintIssueType
Source§impl Serialize for LintIssueType
impl Serialize for LintIssueType
impl Copy for LintIssueType
impl Eq for LintIssueType
impl StructuralPartialEq for LintIssueType
Auto Trait Implementations§
impl Freeze for LintIssueType
impl RefUnwindSafe for LintIssueType
impl Send for LintIssueType
impl Sync for LintIssueType
impl Unpin for LintIssueType
impl UnwindSafe for LintIssueType
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.