pub trait ContextSchema {
// Required method
fn context_type(&self) -> SchemaType;
}
Expand description
Trait for schemas that can inform the parsing of Context data
Required Methods§
Sourcefn context_type(&self) -> SchemaType
fn context_type(&self) -> SchemaType
SchemaType
(expected to be a Record
) for the context.