Struct boon::OutputUnit
source · pub struct OutputUnit<'e, 's, 'v> {
pub valid: bool,
pub keyword_location: String,
pub absolute_keyword_location: Option<AbsoluteKeywordLocation<'s>>,
pub instance_location: &'e InstanceLocation<'v>,
pub error: OutputError<'e, 's, 'v>,
}
Expand description
Single OutputUnit used in Basic/Detailed output formats.
Fields§
§valid: bool
§keyword_location: String
§absolute_keyword_location: Option<AbsoluteKeywordLocation<'s>>
The absolute, dereferenced location of the validating keyword
instance_location: &'e InstanceLocation<'v>
The location of the JSON value within the instance being validated
error: OutputError<'e, 's, 'v>