On this page
query.private.Predicate.validate_one
- Module
- query.private
- Declared in
- Predicate
- Package
- libtmux
- Source
- crates/libtmux/src/query/private.rs
- validate_one ( self ) Result<(), FilterExpressionError>
-
Validate this predicate as a to-one relation over
U.Validation walks every nested logical branch and delegates each leaf to
U's generated schema implementation.Errors
Returns
FilterExpressionErrorKind::UnknownOperatorfor a scalar predicate,FilterExpressionErrorKind::UnknownQuantifierfor a to-many quantifier, or the exact source-less nested schema error.The
crate::query::Filterablerelation example executes this method in a hand-written generated-code expansion.
0 declared, 0 inherited