Trait hdk::prelude::HasValidationStatus
source · [−]pub trait HasValidationStatus {
type Data;
fn validation_status(&self) -> Option<ValidationStatus>;
fn data(&self) -> &Self::Data;
}
Expand description
Data that requires a validation status.
Associated Types
Required methods
fn validation_status(&self) -> Option<ValidationStatus>
fn validation_status(&self) -> Option<ValidationStatus>
Get the status of a some data. None means this data has not been validated yet.