Trait common_primitives::schema::SchemaValidator
source · pub trait SchemaValidator<SchemaId> {
// Required methods
fn are_all_schema_ids_valid(schema_ids: &Vec<SchemaId>) -> bool;
fn set_schema_count(n: SchemaId);
}
Expand description
This allows other Pallets to check validity of schema ids.
Required Methods§
sourcefn are_all_schema_ids_valid(schema_ids: &Vec<SchemaId>) -> bool
fn are_all_schema_ids_valid(schema_ids: &Vec<SchemaId>) -> bool
Checks that a collection of SchemaIds are all valid
sourcefn set_schema_count(n: SchemaId)
fn set_schema_count(n: SchemaId)
Set the schema counter for testing purposes.
Object Safety§
This trait is not object safe.