pub struct FileCollection {
pub path: String,
pub state: FileState,
pub decided_by: Option<DecidedBy>,
pub tests: usize,
pub test_ids: Vec<String>,
pub rule: Option<CollectionRule>,
pub why: Option<String>,
pub fixes: Vec<String>,
}Expand description
One judged test file.
Fields§
§path: StringWorkspace-relative path.
state: FileStateCollected, not collected, or unknown.
decided_by: Option<DecidedBy>What decided it; null only when unknown.
tests: usizeTests from it that ran (skipped and ignored ones excluded).
test_ids: Vec<String>The first 20 of their ids.
rule: Option<CollectionRule>The runner’s rule (not collected).
why: Option<String>Not collected: which part of the rule the file breaks; unknown: why speccoder cannot tell.
fixes: Vec<String>The ways out, for this toolchain and file.
Trait Implementations§
Source§impl Clone for FileCollection
impl Clone for FileCollection
Source§impl Debug for FileCollection
impl Debug for FileCollection
Source§impl<'de> Deserialize<'de> for FileCollection
impl<'de> Deserialize<'de> for FileCollection
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 FileCollection
Source§impl JsonSchema for FileCollection
impl JsonSchema for FileCollection
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for FileCollection
impl PartialEq for FileCollection
Source§impl Serialize for FileCollection
impl Serialize for FileCollection
impl StructuralPartialEq for FileCollection
Auto Trait Implementations§
impl Freeze for FileCollection
impl RefUnwindSafe for FileCollection
impl Send for FileCollection
impl Sync for FileCollection
impl Unpin for FileCollection
impl UnsafeUnpin for FileCollection
impl UnwindSafe for FileCollection
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