pub struct AqlQuery<'a> { /* private fields */ }
Implementations§
source§impl<'a> AqlQuery<'a>
impl<'a> AqlQuery<'a>
sourcepub fn builder() -> AqlQueryBuilder<'a, ((), (), (), (), (), (), (), ())>
pub fn builder() -> AqlQueryBuilder<'a, ((), (), (), (), (), (), (), ())>
Create a builder for building AqlQuery
.
On the builder, call .query(...)
, .bind_vars(...)(optional)
, .bind_var(...)(optional)
,
.try_bind(...)(optional)
, .count(...)(optional)
, .batch_size(...)(optional)
,
.cache(...)(optional)
, .memory_limit(...)(optional)
, .ttl(...)(optional)
,
.options(...)(optional)
to set the values of the fields (they accept Into values).
Use .try_bind(...)
to accept any serializable struct
while .bind_value(...)
accepts an Into<serde_json::Value>
.
Finally, call .build() to create the instance of AqlQuery.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AqlQuery<'a>
impl<'a> RefUnwindSafe for AqlQuery<'a>
impl<'a> Send for AqlQuery<'a>
impl<'a> Sync for AqlQuery<'a>
impl<'a> Unpin for AqlQuery<'a>
impl<'a> UnwindSafe for AqlQuery<'a>
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