pub struct AuthzConfig {
pub store: String,
pub tuples: Vec<String>,
pub types: Vec<(String, Vec<(String, String)>)>,
}Expand description
[authz] and its [authz.type.<name>] tables.
Fields§
§store: Stringstore: "memory" (default).
tuples: Vec<String>tuples: object#relation@subject written at every (re)load.
types: Vec<(String, Vec<(String, String)>)>(type, [(relation, definition)]), from [authz.type.<type>].
Trait Implementations§
Source§impl Clone for AuthzConfig
impl Clone for AuthzConfig
Source§impl Debug for AuthzConfig
impl Debug for AuthzConfig
Auto Trait Implementations§
impl Freeze for AuthzConfig
impl RefUnwindSafe for AuthzConfig
impl Send for AuthzConfig
impl Sync for AuthzConfig
impl Unpin for AuthzConfig
impl UnsafeUnpin for AuthzConfig
impl UnwindSafe for AuthzConfig
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