(&self)
| 122 | |
| 123 | impl ModelValidator<ArtifactError> for Artifact { |
| 124 | fn validate(&self) -> ModelValidatorResult<ArtifactError> { |
| 125 | validate_unique_hash(self.id(), &self.hash)?; |
| 126 | |
| 127 | Ok(()) |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | #[cfg(test)] |
nothing calls this directly
no test coverage detected