pub struct TypedNavigation<T, Root = ()> { /* private fields */ }Expand description
Statically rooted read-only navigation path. Each additional field()
appends one schema-validated reference edge; the server remains the final
authority for catalog compatibility and rejects stale generated paths.
Implementations§
pub fn field<U>( self, target: TypedColumn<U, Target>, ) -> TypedNavigation<U, Root>
pub fn expr(self) -> Expr
pub fn eq(self, value: impl Into<Expr>) -> Expr
pub fn ne(self, value: impl Into<Expr>) -> Expr
pub fn lt(self, value: impl Into<Expr>) -> Expr
pub fn lte(self, value: impl Into<Expr>) -> Expr
pub fn gt(self, value: impl Into<Expr>) -> Expr
pub fn gte(self, value: impl Into<Expr>) -> Expr
pub fn is_null(self) -> Expr
pub fn is_not_null(self) -> Expr
pub fn between(self, lower: impl Into<Expr>, upper: impl Into<Expr>) -> Expr
pub fn not_between(self, lower: impl Into<Expr>, upper: impl Into<Expr>) -> Expr
pub fn in_(self, values: impl IntoIterator<Item = impl Into<Expr>>) -> Expr
pub fn not_in(self, values: impl IntoIterator<Item = impl Into<Expr>>) -> Expr
pub fn in_subquery(self, query: QueryBuilder) -> Expr
pub fn not_in_subquery(self, query: QueryBuilder) -> Expr
pub fn like(self, value: impl Into<Expr>) -> Expr
pub fn not_like(self, value: impl Into<Expr>) -> Expr
pub fn regexp(self, value: impl Into<Expr>) -> Expr
pub fn glob(self, value: impl Into<Expr>) -> Expr
pub fn is_distinct_from(self, value: impl Into<Expr>) -> Expr
pub fn is_not_distinct_from(self, value: impl Into<Expr>) -> Expr
pub fn add(self, value: impl Into<Expr>) -> Expr
pub fn sub(self, value: impl Into<Expr>) -> Expr
pub fn mul(self, value: impl Into<Expr>) -> Expr
pub fn div(self, value: impl Into<Expr>) -> Expr
pub fn modulo(self, value: impl Into<Expr>) -> Expr
pub fn cast(self, data_type: DataTypeDescriptor) -> Expr
pub fn alias(self, alias: impl Into<String>) -> Projection
pub fn projection(self) -> Projection
pub fn asc(self) -> Order
pub fn desc(self) -> Order
Trait Implementations§
Source§fn clone(&self) -> TypedNavigation<T, Root>
fn clone(&self) -> TypedNavigation<T, Root>
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 moreSource§fn from(value: TypedNavigation<T, Root>) -> Self
fn from(value: TypedNavigation<T, Root>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
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