Trait cedar_policy_core::entities::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§