pub struct PdpCall {
pub dialect: PdpDialect,
pub args: Value,
}Expand description
A PDP invocation, opaque-args style. Resolvers parse args based on
the dialect they handle — apl-core doesn’t impose a Cedar/OPA/AuthZen
schema on args.
Fields§
§dialect: PdpDialect§args: ValueDialect-specific call arguments — typically a map for Cedar
(action, resource, …) or a string for OPA/AuthZen/NeMo
(a path or query). Resolvers parse this; apl-core treats it
as opaque.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PdpCall
impl<'de> Deserialize<'de> for PdpCall
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for PdpCall
Auto Trait Implementations§
impl Freeze for PdpCall
impl RefUnwindSafe for PdpCall
impl Send for PdpCall
impl Sync for PdpCall
impl Unpin for PdpCall
impl UnsafeUnpin for PdpCall
impl UnwindSafe for PdpCall
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more