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§

source

fn are_all_schema_ids_valid(schema_ids: &Vec<SchemaId>) -> bool

Checks that a collection of SchemaIds are all valid

source

fn set_schema_count(n: SchemaId)

Set the schema counter for testing purposes.

Object Safety§

This trait is not object safe.

Implementors§