pub struct AccessPolicyConfig {
pub enabled: bool,
pub path: Option<String>,
}Expand description
[access] — native vertical access policy settings.
Fields§
§enabled: boolEnable loading and enforcing the native access policy.
path: Option<String>Path to a TOML or JSON access policy file.
Trait Implementations§
Source§impl Clone for AccessPolicyConfig
impl Clone for AccessPolicyConfig
Source§fn clone(&self) -> AccessPolicyConfig
fn clone(&self) -> AccessPolicyConfig
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 AccessPolicyConfig
impl Debug for AccessPolicyConfig
Auto Trait Implementations§
impl Freeze for AccessPolicyConfig
impl RefUnwindSafe for AccessPolicyConfig
impl Send for AccessPolicyConfig
impl Sync for AccessPolicyConfig
impl Unpin for AccessPolicyConfig
impl UnsafeUnpin for AccessPolicyConfig
impl UnwindSafe for AccessPolicyConfig
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