ContextSchema

Trait ContextSchema 

Source
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§

Source

fn context_type(&self) -> SchemaType

SchemaType (expected to be a Record) for the context.

Implementors§

Source§

impl ContextSchema for ContextSchema

A Type contains all the information we need for a Core ContextSchema.

Source§

impl ContextSchema for NullContextSchema