pub struct Select {}Expand description
Selector for bare SELECT operations (the statement-level authorization
check, not column-level reads).
Implementations§
Source§impl Select
impl Select
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new Select 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 Select
Defaults to Select::empty, producing a selector where every field is a glob.
impl Default for Select
Defaults to Select::empty, producing a selector where every field is a glob.
Source§impl Display for Select
Formats this Select using the CLI selector syntax. When all fields are globs, renders the bare identifier Select; otherwise renders the identifier with parenthesized dot-separated fields.
impl Display for Select
Formats this Select using the CLI selector syntax. When all fields are globs, renders the bare identifier Select; otherwise renders the identifier with parenthesized dot-separated fields.
Source§impl From<Select> for AccessControlSelector
Converts a Select into its corresponding AccessControlSelector variant.
impl From<Select> for AccessControlSelector
Converts a Select into its corresponding AccessControlSelector variant.
Source§impl FromStr for Select
Parses a selector string into a Select. Accepts the syntax Select or Select(field1.field2).
impl FromStr for Select
Parses a selector string into a Select. Accepts the syntax Select or Select(field1.field2).
Source§impl Ord for Select
impl Ord for Select
Source§impl PartialOrd for Select
impl PartialOrd for Select
impl Eq for Select
impl StructuralPartialEq for Select
Auto Trait Implementations§
impl Freeze for Select
impl RefUnwindSafe for Select
impl Send for Select
impl Sync for Select
impl Unpin for Select
impl UnsafeUnpin for Select
impl UnwindSafe for Select
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