pub struct FileLine {
pub content: String,
pub coverage_status: String,
pub line_number: i64,
pub test_types: Option<Vec<String>>,
}Expand description
Represents a single line of code with coverage information.
JSON schema
{
"title": "FileLine",
"description": "Represents a single line of code with coverage information.",
"type": "object",
"required": [
"content",
"coverage_status",
"line_number"
],
"properties": {
"content": {
"title": "Content",
"type": "string"
},
"coverage_status": {
"title": "Coverage Status",
"type": "string"
},
"line_number": {
"title": "Line Number",
"type": "integer"
},
"test_types": {
"title": "Test Types",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
}
}
}Fields§
§content: String§coverage_status: String§line_number: i64§test_types: Option<Vec<String>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FileLine
impl<'de> Deserialize<'de> for FileLine
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
Auto Trait Implementations§
impl Freeze for FileLine
impl RefUnwindSafe for FileLine
impl Send for FileLine
impl Sync for FileLine
impl Unpin for FileLine
impl UnwindSafe for FileLine
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