pub struct CompoundFilter {
pub filters: Vec<CompoundFilterItem>,
pub _type: String,
}
Expand description
§on openapi.yaml
CompoundFilter:
$recursiveAnchor: true
type: object
additionalProperties: false
title: Compound Filter
description: Combine multiple filters using `and` or `or`.
properties:
type:
type: string
description: "Type of operation: `and` or `or`."
enum:
- and
- or
filters:
type: array
description:
Array of filters to combine. Items can be `ComparisonFilter` or
`CompoundFilter`.
items:
oneOf:
- $ref: "#/components/schemas/ComparisonFilter"
- $recursiveRef: "#"
required:
- type
- filters
x-oaiMeta:
name: CompoundFilter
Fields§
§filters: Vec<CompoundFilterItem>
Array of filters to combine. Items can be ComparisonFilter
or CompoundFilter
.
_type: String
Type of operation: and
or or
.
Trait Implementations§
Source§impl Debug for CompoundFilter
impl Debug for CompoundFilter
Source§impl<'de> Deserialize<'de> for CompoundFilter
impl<'de> Deserialize<'de> for CompoundFilter
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CompoundFilter
impl RefUnwindSafe for CompoundFilter
impl Send for CompoundFilter
impl Sync for CompoundFilter
impl Unpin for CompoundFilter
impl UnwindSafe for CompoundFilter
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