pub struct ProbeLogicalExpression {
pub children: Vec<BTreeMap<String, Value>>,
pub operator: String,
pub extra: Map<String, Value>,
}Expand description
A logical probe expression. The complete expression may be at most 10 levels deep and contain at most 100 expression nodes.
Fields§
§children: Vec<BTreeMap<String, Value>>Nested expressions. The not operator requires exactly one child; all other operators accept between one and 20 children. Entries have the same shape as ProbeExpression, but are documented without a recursive $ref because some OpenAPI tooling cannot resolve recursive schemas.
operator: StringAllowed values: and, not, or, xor.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for ProbeLogicalExpression
impl Clone for ProbeLogicalExpression
Source§impl Debug for ProbeLogicalExpression
impl Debug for ProbeLogicalExpression
Source§impl Default for ProbeLogicalExpression
impl Default for ProbeLogicalExpression
Source§impl<'de> Deserialize<'de> for ProbeLogicalExpression
impl<'de> Deserialize<'de> for ProbeLogicalExpression
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
Source§impl PartialEq for ProbeLogicalExpression
impl PartialEq for ProbeLogicalExpression
Source§impl Serialize for ProbeLogicalExpression
impl Serialize for ProbeLogicalExpression
impl StructuralPartialEq for ProbeLogicalExpression
Auto Trait Implementations§
impl Freeze for ProbeLogicalExpression
impl RefUnwindSafe for ProbeLogicalExpression
impl Send for ProbeLogicalExpression
impl Sync for ProbeLogicalExpression
impl Unpin for ProbeLogicalExpression
impl UnsafeUnpin for ProbeLogicalExpression
impl UnwindSafe for ProbeLogicalExpression
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