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.