pub struct TypeCheckResponse {
pub success: bool,
pub errors: Vec<DiagnosticResponse>,
pub warnings: Vec<DiagnosticResponse>,
}Expand description
Response from Client::typecheck.
Fields§
§success: booltrue if no errors were found.
errors: Vec<DiagnosticResponse>Type errors (prevent execution).
warnings: Vec<DiagnosticResponse>Non-fatal warnings.
Trait Implementations§
Source§impl Clone for TypeCheckResponse
impl Clone for TypeCheckResponse
Source§fn clone(&self) -> TypeCheckResponse
fn clone(&self) -> TypeCheckResponse
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 Debug for TypeCheckResponse
impl Debug for TypeCheckResponse
Source§impl<'de> Deserialize<'de> for TypeCheckResponse
impl<'de> Deserialize<'de> for TypeCheckResponse
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 TypeCheckResponse
impl RefUnwindSafe for TypeCheckResponse
impl Send for TypeCheckResponse
impl Sync for TypeCheckResponse
impl Unpin for TypeCheckResponse
impl UnsafeUnpin for TypeCheckResponse
impl UnwindSafe for TypeCheckResponse
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