pub trait CheckResponse: Sealed {
// Required method
fn has_payload(&self) -> bool;
}Expand description
Trait used to verify that a JSON payload has a valid diagnostics payload.
Required Methods§
Sourcefn has_payload(&self) -> bool
fn has_payload(&self) -> bool
Returns true if the response has a valid payload.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".