pub struct GroundTruthConfig {
pub enabled: bool,
pub file_names: Vec<String>,
pub include_openspec_specs: bool,
pub max_bytes: usize,
}Expand description
Ground-truth constraint loading.
Fields§
§enabled: bool§file_names: Vec<String>§include_openspec_specs: bool§max_bytes: usizeTrait Implementations§
Source§impl Clone for GroundTruthConfig
impl Clone for GroundTruthConfig
Source§fn clone(&self) -> GroundTruthConfig
fn clone(&self) -> GroundTruthConfig
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 moreSource§impl Debug for GroundTruthConfig
impl Debug for GroundTruthConfig
Source§impl Default for GroundTruthConfig
impl Default for GroundTruthConfig
Source§impl<'de> Deserialize<'de> for GroundTruthConfigwhere
GroundTruthConfig: Default,
impl<'de> Deserialize<'de> for GroundTruthConfigwhere
GroundTruthConfig: Default,
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
impl Eq for GroundTruthConfig
Source§impl PartialEq for GroundTruthConfig
impl PartialEq for GroundTruthConfig
Source§fn eq(&self, other: &GroundTruthConfig) -> bool
fn eq(&self, other: &GroundTruthConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GroundTruthConfig
impl Serialize for GroundTruthConfig
impl StructuralPartialEq for GroundTruthConfig
Auto Trait Implementations§
impl Freeze for GroundTruthConfig
impl RefUnwindSafe for GroundTruthConfig
impl Send for GroundTruthConfig
impl Sync for GroundTruthConfig
impl Unpin for GroundTruthConfig
impl UnsafeUnpin for GroundTruthConfig
impl UnwindSafe for GroundTruthConfig
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