#[non_exhaustive]pub struct Options {
pub limits: Limits,
pub on_missing: OnMissing,
}Expand description
The choices one evaluation runs with.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.limits: LimitsThe bounds.
on_missing: OnMissingWhat an item with no ACL gets. Default OnMissing::Deny.
Implementations§
Source§impl Options
impl Options
Sourcepub fn on_missing(self, on_missing: OnMissing) -> Self
pub fn on_missing(self, on_missing: OnMissing) -> Self
Sets what an item with no ACL gets.
Sourcepub fn non_defaults(&self) -> Vec<NonDefault>
pub fn non_defaults(&self) -> Vec<NonDefault>
What these choices set off the default, for the caller to report or refuse.
Trait Implementations§
impl Copy for Options
impl Eq for Options
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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