pub struct RoleSystemConfig {
pub max_hierarchy_depth: usize,
pub enable_caching: bool,
pub cache_ttl_seconds: u64,
pub enable_audit: bool,
}Expand description
Configuration for the role system.
Fields§
§max_hierarchy_depth: usizeMaximum depth for role hierarchy traversal.
enable_caching: boolWhether to enable permission caching.
cache_ttl_seconds: u64Cache TTL in seconds.
enable_audit: boolWhether to enable audit logging.
Trait Implementations§
Source§impl Clone for RoleSystemConfig
impl Clone for RoleSystemConfig
Source§fn clone(&self) -> RoleSystemConfig
fn clone(&self) -> RoleSystemConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 RoleSystemConfig
impl Debug for RoleSystemConfig
Auto Trait Implementations§
impl Freeze for RoleSystemConfig
impl RefUnwindSafe for RoleSystemConfig
impl Send for RoleSystemConfig
impl Sync for RoleSystemConfig
impl Unpin for RoleSystemConfig
impl UnwindSafe for RoleSystemConfig
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