pub struct DirectoryGatePolicySource { /* private fields */ }Expand description
Gate policies as JSON files under one directory, named
{policy_name}.json — rusty-eval’s canonical serialization
(GatePolicy::to_json), so policies diff cleanly in git and the
file layout is the naming.
Implementations§
Trait Implementations§
Source§impl Debug for DirectoryGatePolicySource
impl Debug for DirectoryGatePolicySource
Auto Trait Implementations§
impl Freeze for DirectoryGatePolicySource
impl RefUnwindSafe for DirectoryGatePolicySource
impl Send for DirectoryGatePolicySource
impl Sync for DirectoryGatePolicySource
impl Unpin for DirectoryGatePolicySource
impl UnsafeUnpin for DirectoryGatePolicySource
impl UnwindSafe for DirectoryGatePolicySource
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