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.

Implementations on Foreign Types§

Source§

impl CheckResponse for Value

Source§

impl CheckResponse for Value

Implementors§