pub struct Recursive {}Expand description
Selector for recursive query authorization checks.
Implementations§
Source§impl Recursive
impl Recursive
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new Recursive with the provided field values.
Each argument accepts any type that implements Into<ValueOrGlob<T>>, so callers can pass a raw value, a ValueOrGlob, or an Option<T>.
Sourcepub const fn is_all_glob(&self) -> bool
pub const fn is_all_glob(&self) -> bool
Sourcepub const fn is_all_value(&self) -> bool
pub const fn is_all_value(&self) -> bool
Sourcepub const fn is_any_glob(&self) -> bool
pub const fn is_any_glob(&self) -> bool
Sourcepub const fn is_any_value(&self) -> bool
pub const fn is_any_value(&self) -> bool
Sourcepub const fn specificity(&self) -> usize
pub const fn specificity(&self) -> usize
Trait Implementations§
Source§impl Default for Recursive
Defaults to Recursive::empty, producing a selector where every field is a glob.
impl Default for Recursive
Defaults to Recursive::empty, producing a selector where every field is a glob.
Source§impl Display for Recursive
Formats this Recursive using the CLI selector syntax. When all fields are globs, renders the bare identifier Recursive; otherwise renders the identifier with parenthesized dot-separated fields.
impl Display for Recursive
Formats this Recursive using the CLI selector syntax. When all fields are globs, renders the bare identifier Recursive; otherwise renders the identifier with parenthesized dot-separated fields.
Source§impl From<Recursive> for AccessControlSelector
Converts a Recursive into its corresponding AccessControlSelector variant.
impl From<Recursive> for AccessControlSelector
Converts a Recursive into its corresponding AccessControlSelector variant.
Source§impl FromStr for Recursive
Parses a selector string into a Recursive. Accepts the syntax Recursive or Recursive(field1.field2).
impl FromStr for Recursive
Parses a selector string into a Recursive. Accepts the syntax Recursive or Recursive(field1.field2).
Source§impl Ord for Recursive
impl Ord for Recursive
Source§impl PartialOrd for Recursive
impl PartialOrd for Recursive
impl Eq for Recursive
impl StructuralPartialEq for Recursive
Auto Trait Implementations§
impl Freeze for Recursive
impl RefUnwindSafe for Recursive
impl Send for Recursive
impl Sync for Recursive
impl Unpin for Recursive
impl UnsafeUnpin for Recursive
impl UnwindSafe for Recursive
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<I> IntoResettable<String> for I
impl<I> IntoResettable<String> for I
Source§fn into_resettable(self) -> Resettable<String>
fn into_resettable(self) -> Resettable<String>
Convert to the intended resettable type