Module est

Source
Expand description

This module contains the External Syntax Tree (EST)

Structs§

Annotations
Similar to ast::Annotations but allow annotation value to be null
Builder
Construct an Expr.
ExtFuncCall
Serde JSON structure for an extension function call in the EST format
Policy
Serde JSON structure for policies and templates in the EST format Note: Before attempting to build an est::Policy from a cst::Policy you must first ensure that the CST can be transformed into an AST. The CST-to-EST transformation does not duplicate all checks performed by the CST-to-AST transformation, so attempting to convert an invalid CST to an EST may succeed.
PolicySet
Serde JSON structure for a policy set in the EST format
PrincipalOrResourceIsConstraint
Serde JSON structure for an is scope constraint for principal/resource in the EST format
TemplateLink
Serde JSON structure describing a template-linked policy

Enums§

ActionConstraint
Serde JSON structure for an action scope constraint in the EST format
ActionInConstraint
Serde JSON structure for an in scope constraint for action in the EST format
Clause
Serde JSON structure for a when or unless clause in the EST format
EqConstraint
Serde JSON structure for a == scope constraint in the EST format
Expr
Serde JSON structure for a Cedar expression in the EST format
ExprNoExt
Serde JSON structure for [any Cedar expression other than an extension function call] in the EST format
FromJsonError
Errors arising while converting a policy from its JSON representation (aka EST) into an AST
LinkingError
Errors while linking a policy
PatternElem
Represent an element of a pattern literal
PolicySetFromJsonError
Errors arising while converting a policy set from its JSON representation (aka EST) into an AST
PrincipalConstraint
Serde JSON structure for a principal scope constraint in the EST format
PrincipalOrResourceInConstraint
Serde JSON structure for an in scope constraint for principal/resource in the EST format
ResourceConstraint
Serde JSON structure for a resource scope constraint in the EST format