Struct rocfl::ocfl::ObjectValidationResult [−][src]
pub struct ObjectValidationResult {
pub object_id: Option<String>,
pub storage_path: String,
// some fields omitted
}
Expand description
The results of validating an OCFL object
Fields
object_id: Option<String>
The id of the object, if known
storage_path: String
The path to the object’s root directory, relative the repository root
Implementations
Trait Implementations
True if any errors were identified
True if any warnings were identified
The list of identified errors
The list of identified warnings
fn errors_mut(&mut self) -> &mut Vec<ValidationError>ⓘ
fn errors_mut(&mut self) -> &mut Vec<ValidationError>ⓘ
The list of identified errors
fn warnings_mut(&mut self) -> &mut Vec<ValidationWarning>ⓘ
fn warnings_mut(&mut self) -> &mut Vec<ValidationWarning>ⓘ
The list of identified warnings
Adds a new error
Adds a new warning
true
if errors or warnings were identified
Auto Trait Implementations
impl RefUnwindSafe for ObjectValidationResult
impl Send for ObjectValidationResult
impl Sync for ObjectValidationResult
impl Unpin for ObjectValidationResult
impl UnwindSafe for ObjectValidationResult
Blanket Implementations
Mutably borrows from an owned value. Read more
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