pub struct Args { /* private fields */ }Expand description
Positional non-database arguments for a Query’s :in inputs, in
declaration order.
Implementations§
Source§impl Args
impl Args
Sourcepub fn scalar(self, value: impl IntoEdn) -> Self
pub fn scalar(self, value: impl IntoEdn) -> Self
Appends a scalar argument for an in_scalar input.
Sourcepub fn tuple<V: IntoEdn>(self, values: impl IntoIterator<Item = V>) -> Self
pub fn tuple<V: IntoEdn>(self, values: impl IntoIterator<Item = V>) -> Self
Appends a tuple argument for an in_tuple input.
Sourcepub fn coll<V: IntoEdn>(self, values: impl IntoIterator<Item = V>) -> Self
pub fn coll<V: IntoEdn>(self, values: impl IntoIterator<Item = V>) -> Self
Appends a collection argument for an in_coll input.
Sourcepub fn relation<V: IntoEdn>(
self,
tuples: impl IntoIterator<Item = Vec<V>>,
) -> Self
pub fn relation<V: IntoEdn>( self, tuples: impl IntoIterator<Item = Vec<V>>, ) -> Self
Appends a relation argument (vector of tuples) for an in_rel input.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnsafeUnpin for Args
impl UnwindSafe for Args
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request