Struct rocfl::ocfl::ValidationError [−][src]
pub struct ValidationError {
pub location: ProblemLocation,
pub code: ErrorCode,
pub text: String,
}
Fields
location: ProblemLocation
Indicates where the problem occurred
code: ErrorCode
The validation code the error maps to
text: String
A specific description of the problem
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnwindSafe for ValidationError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more