Trait cedar_policy_core::ast::ExtensionValue
source · pub trait ExtensionValue: Debug + Display {
// Required method
fn typename(&self) -> Name;
}
Expand description
Extension value.
Anything implementing this trait can be used as a first-class value in
Cedar. For instance, the ipaddr
extension uses this mechanism
to implement IPAddr as a Cedar first-class value.