pub struct ClippyResponse<'a> {
pub success: bool,
pub exit_detail: Cow<'a, str>,
pub stdout: Cow<'a, str>,
pub stderr: Cow<'a, str>,
}Expand description
Represents the response from running Clippy on submitted code.
Includes success status, exit details, and output streams.
Fields§
§success: boolWhether Clippy completed successfully without errors.
exit_detail: Cow<'a, str>Details about the process exit (exit code, signals, etc.).
stdout: Cow<'a, str>Standard output from Clippy (usually empty or informational).
stderr: Cow<'a, str>Standard error output containing Clippy warnings, errors, and suggestions.
Trait Implementations§
Source§impl<'a> Clone for ClippyResponse<'a>
impl<'a> Clone for ClippyResponse<'a>
Source§fn clone(&self) -> ClippyResponse<'a>
fn clone(&self) -> ClippyResponse<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for ClippyResponse<'a>
impl<'a> Debug for ClippyResponse<'a>
Source§impl<'de, 'a> Deserialize<'de> for ClippyResponse<'a>
impl<'de, 'a> Deserialize<'de> for ClippyResponse<'a>
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
Source§impl<'a> PartialEq for ClippyResponse<'a>
impl<'a> PartialEq for ClippyResponse<'a>
Source§impl<'a> Serialize for ClippyResponse<'a>
impl<'a> Serialize for ClippyResponse<'a>
impl<'a> Eq for ClippyResponse<'a>
impl<'a> Response for ClippyResponse<'a>
impl<'a> StructuralPartialEq for ClippyResponse<'a>
Auto Trait Implementations§
impl<'a> Freeze for ClippyResponse<'a>
impl<'a> RefUnwindSafe for ClippyResponse<'a>
impl<'a> Send for ClippyResponse<'a>
impl<'a> Sync for ClippyResponse<'a>
impl<'a> Unpin for ClippyResponse<'a>
impl<'a> UnwindSafe for ClippyResponse<'a>
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
Source§impl<T> CloneDebuggableStorage for Twhere
T: DebuggableStorage + Clone,
impl<T> CloneDebuggableStorage for Twhere
T: DebuggableStorage + Clone,
fn clone_storage(&self) -> Box<dyn CloneDebuggableStorage>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CloneableStorage for T
impl<T> CloneableStorage for T
fn clone_storage(&self) -> Box<dyn CloneableStorage>
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.