pub struct SuffixOperatorParamFilter;Expand description
Rewrites operator suffixes to canonical parameters while preserving repeats.
Trait Implementations§
Source§impl Clone for SuffixOperatorParamFilter
impl Clone for SuffixOperatorParamFilter
Source§fn clone(&self) -> SuffixOperatorParamFilter
fn clone(&self) -> SuffixOperatorParamFilter
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 moreimpl Copy for SuffixOperatorParamFilter
Source§impl Debug for SuffixOperatorParamFilter
impl Debug for SuffixOperatorParamFilter
Source§impl Default for SuffixOperatorParamFilter
impl Default for SuffixOperatorParamFilter
Source§fn default() -> SuffixOperatorParamFilter
fn default() -> SuffixOperatorParamFilter
Returns the “default value” for a type. Read more
Source§impl RawParamFilter for SuffixOperatorParamFilter
impl RawParamFilter for SuffixOperatorParamFilter
Source§fn filter(
&self,
entity: &'static EntityMeta,
input: &RawParams,
) -> Result<RawParams, ParamError>
fn filter( &self, entity: &'static EntityMeta, input: &RawParams, ) -> Result<RawParams, ParamError>
Normalize
input while preserving ordered, repeated parameters.Source§fn filter_with_limits(
&self,
_entity: &'static EntityMeta,
input: &RawParams,
limits: &QueryLimits,
) -> Result<RawParams, ParamError>
fn filter_with_limits( &self, _entity: &'static EntityMeta, input: &RawParams, limits: &QueryLimits, ) -> Result<RawParams, ParamError>
Budget-aware entry point. Server code must perform bounded synchronous
work; arbitrary extension code cannot be preempted safely by core.
Source§fn fingerprint(&self) -> u64
fn fingerprint(&self) -> u64
Stable identity used by query policy fingerprints.
Auto Trait Implementations§
impl Freeze for SuffixOperatorParamFilter
impl RefUnwindSafe for SuffixOperatorParamFilter
impl Send for SuffixOperatorParamFilter
impl Sync for SuffixOperatorParamFilter
impl Unpin for SuffixOperatorParamFilter
impl UnsafeUnpin for SuffixOperatorParamFilter
impl UnwindSafe for SuffixOperatorParamFilter
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<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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more