pub struct FilterSchema { /* private fields */ }Expand description
Declares the allowed filter fields and sort fields for an endpoint.
Build one per endpoint using the builder methods field
and sort_fields, then pass it to
Filter::validate to produce a ValidatedFilter.
Implementations§
Trait Implementations§
Source§impl Default for FilterSchema
impl Default for FilterSchema
Source§fn default() -> FilterSchema
fn default() -> FilterSchema
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FilterSchema
impl RefUnwindSafe for FilterSchema
impl Send for FilterSchema
impl Sync for FilterSchema
impl Unpin for FilterSchema
impl UnsafeUnpin for FilterSchema
impl UnwindSafe for FilterSchema
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