pub struct ResearchProblemView {
pub path: String,
pub line: u32,
pub severity: String,
pub message: String,
pub finding: String,
}Expand description
Every shape at the root as well, because a window names a view on nearly
every line and arvo_api::research::StudyView would be noise. The names
do not collide: proto has no overloading and neither does this.
A finding’s caveat, against the script line that produced the finding:
what the Problems panel lists with source “Arvo” (ADR-0021).
Fields§
§path: StringRelative to the project folder.
line: u32§severity: Stringerror, warning or info.
message: String§finding: StringThe finding it comes from, to open.
Trait Implementations§
Source§impl Clone for ResearchProblemView
impl Clone for ResearchProblemView
Source§impl Debug for ResearchProblemView
impl Debug for ResearchProblemView
Source§impl Default for ResearchProblemView
impl Default for ResearchProblemView
Source§impl<'de> Deserialize<'de> for ResearchProblemView
impl<'de> Deserialize<'de> for ResearchProblemView
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 ResearchProblemView
Source§impl Hash for ResearchProblemView
impl Hash for ResearchProblemView
Source§impl Message for ResearchProblemView
impl Message for ResearchProblemView
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
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,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
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,
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
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,
Decodes a length-delimited instance of the message from the buffer.
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,
Decodes an instance of the message from a buffer, and merges it into
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,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for ResearchProblemView
impl PartialEq for ResearchProblemView
Source§impl Serialize for ResearchProblemView
impl Serialize for ResearchProblemView
impl StructuralPartialEq for ResearchProblemView
Auto Trait Implementations§
impl Freeze for ResearchProblemView
impl RefUnwindSafe for ResearchProblemView
impl Send for ResearchProblemView
impl Sync for ResearchProblemView
impl Unpin for ResearchProblemView
impl UnsafeUnpin for ResearchProblemView
impl UnwindSafe for ResearchProblemView
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