#[non_exhaustive]pub struct CheckResponse {
pub message_type: String,
pub passed: bool,
pub errors: u64,
pub warnings: u64,
pub rungs: Vec<String>,
pub findings: Vec<CheckFinding>,
}Expand description
POST /api/v1/check.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.message_type: StringThe detected message type, for example pain.001.001.09.
passed: boolfalse when a rung found an error.
errors: u64Number of error findings.
warnings: u64Number of warning findings.
rungs: Vec<String>The rungs that ran, in order.
findings: Vec<CheckFinding>Every finding.
Trait Implementations§
Source§impl Clone for CheckResponse
impl Clone for CheckResponse
Source§impl Debug for CheckResponse
impl Debug for CheckResponse
Source§impl<'de> Deserialize<'de> for CheckResponse
impl<'de> Deserialize<'de> for CheckResponse
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
impl Eq for CheckResponse
Source§impl PartialEq for CheckResponse
impl PartialEq for CheckResponse
impl StructuralPartialEq for CheckResponse
Auto Trait Implementations§
impl Freeze for CheckResponse
impl RefUnwindSafe for CheckResponse
impl Send for CheckResponse
impl Sync for CheckResponse
impl Unpin for CheckResponse
impl UnsafeUnpin for CheckResponse
impl UnwindSafe for CheckResponse
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