pub trait ValidationReport {
    type SealIssue: SealIssue;
    type Failure: ValidationFailure;
    type Warning: Clone + Eq + Hash + Debug + Display + Serialize + for<'de> Deserialize<'de>;
    type Info: Clone + Eq + Hash + Debug + Display + Serialize + for<'de> Deserialize<'de>;
}
Expand description

Trait combining different forms of client-side-validation reporting as into a single type pack

Required Associated Types§

source

type SealIssue: SealIssue

Reports on seal resolution issues, for instance produced by failing accessing the single-use-seals or its medium or inability to determine whether a given seal was closed.

source

type Failure: ValidationFailure

Internal client-side-validated data inconsistency/invalidity codes and reports

source

type Warning: Clone + Eq + Hash + Debug + Display + Serialize + for<'de> Deserialize<'de>

Issues which does not render client-side-validated data invalid, but which should be reported to the user anyway

source

type Info: Clone + Eq + Hash + Debug + Display + Serialize + for<'de> Deserialize<'de>

Information reports about client-side-validation, which do not affect data safety or validity and may not be presented to the user

Implementors§