pub struct LintingConfig {
pub max_artifact_size: usize,
pub min_confidence_threshold: f32,
}Expand description
Configuration for artifact linting.
Fields§
§max_artifact_size: usizeMaximum artifact content size in bytes
min_confidence_threshold: f32Minimum confidence threshold for artifacts (0.0-1.0)
Trait Implementations§
Source§impl Clone for LintingConfig
impl Clone for LintingConfig
Source§fn clone(&self) -> LintingConfig
fn clone(&self) -> LintingConfig
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 LintingConfig
impl Debug for LintingConfig
Source§impl<'de> Deserialize<'de> for LintingConfig
impl<'de> Deserialize<'de> for LintingConfig
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 PartialEq for LintingConfig
impl PartialEq for LintingConfig
Source§impl Serialize for LintingConfig
impl Serialize for LintingConfig
impl StructuralPartialEq for LintingConfig
Auto Trait Implementations§
impl Freeze for LintingConfig
impl RefUnwindSafe for LintingConfig
impl Send for LintingConfig
impl Sync for LintingConfig
impl Unpin for LintingConfig
impl UnwindSafe for LintingConfig
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