pub(crate) struct BoundRef<'a, T> {
    model: &'a Model,
    ref: Ref<'a, T>,
}
Expand description

A mutable reference to an object of type T (a QueryBox or a Quantifier) bound to a specific Model.

Fields§

§model: &'a Model§ref: Ref<'a, T>

Implementations§

Immutable QueryBox methods that depend on their enclosing Model.

Delegate to QueryBox::input_quantifiers with the enclosing model.

Delegate to QueryBox::ranging_quantifiers with the enclosing model.

Immutable Quantifier methods that depend on their enclosing Model.

Resolve a bound reference to the input box of this quantifier.

Resolve a bound reference to the parent box of this quantifier.

The arity of the quantifier from the perspective of the parent box.

Note that this is distinct from the arity of the input box of the quantifier. For example, an existential subquery may have any number of input columns, but its output is always a single boolean not null column.

Trait Implementations§

Formats the value using the given formatter. Read more
The resulting type after dereferencing.
Dereferences the value.

Auto Trait Implementations§

Blanket Implementations§

A guard object containing the value and keeping it alive. Read more
The loading method. Read more
Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
The equivalent of Access::load.

Returns the argument unchanged.

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
Attaches the current Context to this type, returning a WithContext wrapper. Read more
Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Wrap the input message T in a tonic::Request
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more