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§fn clone(&self) -> AuthzConfig
fn clone(&self) -> AuthzConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthzConfig
impl Debug for AuthzConfig
Source§impl Default for AuthzConfig
impl Default for AuthzConfig
Source§fn default() -> AuthzConfig
fn default() -> AuthzConfig
Returns the “default value” for a type. Read more
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