pub struct JsonArrayParamFilter;Expand description
Expands JSON arrays into indexed parameter values before strict parsing.
Trait Implementations§
Source§impl Clone for JsonArrayParamFilter
impl Clone for JsonArrayParamFilter
Source§fn clone(&self) -> JsonArrayParamFilter
fn clone(&self) -> JsonArrayParamFilter
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 JsonArrayParamFilter
Source§impl Debug for JsonArrayParamFilter
impl Debug for JsonArrayParamFilter
Source§impl Default for JsonArrayParamFilter
impl Default for JsonArrayParamFilter
Source§fn default() -> JsonArrayParamFilter
fn default() -> JsonArrayParamFilter
Returns the “default value” for a type. Read more
Source§impl RawParamFilter for JsonArrayParamFilter
impl RawParamFilter for JsonArrayParamFilter
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 JsonArrayParamFilter
impl RefUnwindSafe for JsonArrayParamFilter
impl Send for JsonArrayParamFilter
impl Sync for JsonArrayParamFilter
impl Unpin for JsonArrayParamFilter
impl UnsafeUnpin for JsonArrayParamFilter
impl UnwindSafe for JsonArrayParamFilter
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