Skip to main content

CheckResponse

Trait CheckResponse 

Source
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§

Source

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".

Implementations on Foreign Types§

Source§

impl CheckResponse for Value

Source§

impl CheckResponse for Value

Implementors§