cedar_policy_core::entities::json

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§