Struct google_api_proto::google::devtools::resultstore::v2::LineCoverage
source · pub struct LineCoverage {
pub instrumented_lines: Bytes,
pub executed_lines: Bytes,
}
Expand description
Describes line coverage for a file
Fields§
§instrumented_lines: Bytes
Which source lines in the file represent the start of a statement that was instrumented to detect whether it was executed by the test.
This is a bitfield where i-th bit corresponds to the i-th line. Divide line number by 8 to get index into byte array. Mod line number by 8 to get bit number (0 = LSB, 7 = MSB).
A 1 denotes the line was instrumented. A 0 denotes the line was not instrumented.
executed_lines: Bytes
Which of the instrumented source lines were executed by the test. Should include lines that were not instrumented.
This is a bitfield where i-th bit corresponds to the i-th line. Divide line number by 8 to get index into byte array. Mod line number by 8 to get bit number (0 = LSB, 7 = MSB).
A 1 denotes the line was executed. A 0 denotes the line was not executed.
Trait Implementations§
source§impl Clone for LineCoverage
impl Clone for LineCoverage
source§fn clone(&self) -> LineCoverage
fn clone(&self) -> LineCoverage
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LineCoverage
impl Debug for LineCoverage
source§impl Default for LineCoverage
impl Default for LineCoverage
source§impl Message for LineCoverage
impl Message for LineCoverage
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for LineCoverage
impl PartialEq for LineCoverage
source§fn eq(&self, other: &LineCoverage) -> bool
fn eq(&self, other: &LineCoverage) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LineCoverage
Auto Trait Implementations§
impl !Freeze for LineCoverage
impl RefUnwindSafe for LineCoverage
impl Send for LineCoverage
impl Sync for LineCoverage
impl Unpin for LineCoverage
impl UnwindSafe for LineCoverage
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request