Struct cedar_policy_validator::ContextSchema
source · pub struct ContextSchema(/* private fields */);
Expand description
Struct which carries enough information that it can impl Core’s
ContextSchema
.
Trait Implementations§
source§impl ContextSchema for ContextSchema
impl ContextSchema for ContextSchema
A Type
contains all the information we need for a Core ContextSchema
.
source§fn context_type(&self) -> SchemaType
fn context_type(&self) -> SchemaType
SchemaType
(expected to be a Record
) for the context.Auto Trait Implementations§
impl Freeze for ContextSchema
impl RefUnwindSafe for ContextSchema
impl Send for ContextSchema
impl Sync for ContextSchema
impl Unpin for ContextSchema
impl UnwindSafe for ContextSchema
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