pub struct IndexedArrayParamFilter;Expand description
Converts repeated/indexed array keys to canonical indexed parameters.
Trait Implementations§
Source§impl Clone for IndexedArrayParamFilter
impl Clone for IndexedArrayParamFilter
Source§fn clone(&self) -> IndexedArrayParamFilter
fn clone(&self) -> IndexedArrayParamFilter
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 IndexedArrayParamFilter
Source§impl Debug for IndexedArrayParamFilter
impl Debug for IndexedArrayParamFilter
Source§impl Default for IndexedArrayParamFilter
impl Default for IndexedArrayParamFilter
Source§fn default() -> IndexedArrayParamFilter
fn default() -> IndexedArrayParamFilter
Returns the “default value” for a type. Read more
Source§impl RawParamFilter for IndexedArrayParamFilter
impl RawParamFilter for IndexedArrayParamFilter
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 IndexedArrayParamFilter
impl RefUnwindSafe for IndexedArrayParamFilter
impl Send for IndexedArrayParamFilter
impl Sync for IndexedArrayParamFilter
impl Unpin for IndexedArrayParamFilter
impl UnsafeUnpin for IndexedArrayParamFilter
impl UnwindSafe for IndexedArrayParamFilter
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