pub struct AqlQueryBuilder<'a, TypedBuilderFields = ((), (), (), (), (), (), (), ())> { /* private fields */ }Expand description
Builder for AqlQuery instances.
See AqlQuery::builder() for more info.
Implementations§
Source§impl<'a, __bind_vars, __count, __batch_size, __cache, __memory_limit, __ttl, __options> AqlQueryBuilder<'a, ((), __bind_vars, __count, __batch_size, __cache, __memory_limit, __ttl, __options)>
impl<'a, __bind_vars, __count, __batch_size, __cache, __memory_limit, __ttl, __options> AqlQueryBuilder<'a, ((), __bind_vars, __count, __batch_size, __cache, __memory_limit, __ttl, __options)>
pub fn query( self, query: &'a str, ) -> AqlQueryBuilder<'a, ((&'a str,), __bind_vars, __count, __batch_size, __cache, __memory_limit, __ttl, __options)>
Source§impl<'a, __query, __count, __batch_size, __cache, __memory_limit, __ttl, __options> AqlQueryBuilder<'a, (__query, (), __count, __batch_size, __cache, __memory_limit, __ttl, __options)>
impl<'a, __query, __count, __batch_size, __cache, __memory_limit, __ttl, __options> AqlQueryBuilder<'a, (__query, (), __count, __batch_size, __cache, __memory_limit, __ttl, __options)>
Source§impl<'a, __query, __bind_vars, __batch_size, __cache, __memory_limit, __ttl, __options> AqlQueryBuilder<'a, (__query, __bind_vars, (), __batch_size, __cache, __memory_limit, __ttl, __options)>
impl<'a, __query, __bind_vars, __batch_size, __cache, __memory_limit, __ttl, __options> AqlQueryBuilder<'a, (__query, __bind_vars, (), __batch_size, __cache, __memory_limit, __ttl, __options)>
Source§impl<'a, __query, __bind_vars, __count, __cache, __memory_limit, __ttl, __options> AqlQueryBuilder<'a, (__query, __bind_vars, __count, (), __cache, __memory_limit, __ttl, __options)>
impl<'a, __query, __bind_vars, __count, __cache, __memory_limit, __ttl, __options> AqlQueryBuilder<'a, (__query, __bind_vars, __count, (), __cache, __memory_limit, __ttl, __options)>
pub fn batch_size( self, batch_size: u32, ) -> AqlQueryBuilder<'a, (__query, __bind_vars, __count, (Option<u32>,), __cache, __memory_limit, __ttl, __options)>
Source§impl<'a, __query, __bind_vars, __count, __batch_size, __memory_limit, __ttl, __options> AqlQueryBuilder<'a, (__query, __bind_vars, __count, __batch_size, (), __memory_limit, __ttl, __options)>
impl<'a, __query, __bind_vars, __count, __batch_size, __memory_limit, __ttl, __options> AqlQueryBuilder<'a, (__query, __bind_vars, __count, __batch_size, (), __memory_limit, __ttl, __options)>
Source§impl<'a, __query, __bind_vars, __count, __batch_size, __cache, __ttl, __options> AqlQueryBuilder<'a, (__query, __bind_vars, __count, __batch_size, __cache, (), __ttl, __options)>
impl<'a, __query, __bind_vars, __count, __batch_size, __cache, __ttl, __options> AqlQueryBuilder<'a, (__query, __bind_vars, __count, __batch_size, __cache, (), __ttl, __options)>
pub fn memory_limit( self, memory_limit: u64, ) -> AqlQueryBuilder<'a, (__query, __bind_vars, __count, __batch_size, __cache, (Option<u64>,), __ttl, __options)>
Source§impl<'a, __query, __bind_vars, __count, __batch_size, __cache, __memory_limit, __options> AqlQueryBuilder<'a, (__query, __bind_vars, __count, __batch_size, __cache, __memory_limit, (), __options)>
impl<'a, __query, __bind_vars, __count, __batch_size, __cache, __memory_limit, __options> AqlQueryBuilder<'a, (__query, __bind_vars, __count, __batch_size, __cache, __memory_limit, (), __options)>
Source§impl<'a, __query, __bind_vars, __count, __batch_size, __cache, __memory_limit, __ttl> AqlQueryBuilder<'a, (__query, __bind_vars, __count, __batch_size, __cache, __memory_limit, __ttl, ())>
impl<'a, __query, __bind_vars, __count, __batch_size, __cache, __memory_limit, __ttl> AqlQueryBuilder<'a, (__query, __bind_vars, __count, __batch_size, __cache, __memory_limit, __ttl, ())>
pub fn options( self, options: AqlOptions, ) -> AqlQueryBuilder<'a, (__query, __bind_vars, __count, __batch_size, __cache, __memory_limit, __ttl, (Option<AqlOptions>,))>
Source§impl<'a, __bind_vars: Optional<HashMap<&'a str, Value>>, __count: Optional<Option<bool>>, __batch_size: Optional<Option<u32>>, __cache: Optional<Option<bool>>, __memory_limit: Optional<Option<u64>>, __ttl: Optional<Option<u32>>, __options: Optional<Option<AqlOptions>>> AqlQueryBuilder<'a, ((&'a str,), __bind_vars, __count, __batch_size, __cache, __memory_limit, __ttl, __options)>
impl<'a, __bind_vars: Optional<HashMap<&'a str, Value>>, __count: Optional<Option<bool>>, __batch_size: Optional<Option<u32>>, __cache: Optional<Option<bool>>, __memory_limit: Optional<Option<u64>>, __ttl: Optional<Option<u32>>, __options: Optional<Option<AqlOptions>>> AqlQueryBuilder<'a, ((&'a str,), __bind_vars, __count, __batch_size, __cache, __memory_limit, __ttl, __options)>
Source§impl<'a, __query, __count, __batch_size, __cache, __memory_limit, __ttl, __options> AqlQueryBuilder<'a, (__query, (), __count, __batch_size, __cache, __memory_limit, __ttl, __options)>
impl<'a, __query, __count, __batch_size, __cache, __memory_limit, __ttl, __options> AqlQueryBuilder<'a, (__query, (), __count, __batch_size, __cache, __memory_limit, __ttl, __options)>
pub fn bind_var<K, V>( self, key: K, value: V, ) -> AqlQueryBuilder<'a, (__query, (HashMap<&'a str, Value>,), __count, __batch_size, __cache, __memory_limit, __ttl, __options)>
pub fn try_bind<K, V>( self, key: K, value: V, ) -> Result<AqlQueryBuilder<'a, (__query, (HashMap<&'a str, Value>,), __count, __batch_size, __cache, __memory_limit, __ttl, __options)>, Error>
Source§impl<'a, __query, __count, __batch_size, __cache, __memory_limit, __ttl, __options> AqlQueryBuilder<'a, (__query, (HashMap<&'a str, Value>,), __count, __batch_size, __cache, __memory_limit, __ttl, __options)>
impl<'a, __query, __count, __batch_size, __cache, __memory_limit, __ttl, __options> AqlQueryBuilder<'a, (__query, (HashMap<&'a str, Value>,), __count, __batch_size, __cache, __memory_limit, __ttl, __options)>
pub fn bind_var<K, V>( self, key: K, value: V, ) -> AqlQueryBuilder<'a, (__query, (HashMap<&'a str, Value>,), __count, __batch_size, __cache, __memory_limit, __ttl, __options)>
pub fn try_bind<K, V>( self, key: K, value: V, ) -> Result<AqlQueryBuilder<'a, (__query, (HashMap<&'a str, Value>,), __count, __batch_size, __cache, __memory_limit, __ttl, __options)>, Error>
Trait Implementations§
Auto Trait Implementations§
impl<'a, TypedBuilderFields> Freeze for AqlQueryBuilder<'a, TypedBuilderFields>where
TypedBuilderFields: Freeze,
impl<'a, TypedBuilderFields> RefUnwindSafe for AqlQueryBuilder<'a, TypedBuilderFields>where
TypedBuilderFields: RefUnwindSafe,
impl<'a, TypedBuilderFields> Send for AqlQueryBuilder<'a, TypedBuilderFields>where
TypedBuilderFields: Send,
impl<'a, TypedBuilderFields> Sync for AqlQueryBuilder<'a, TypedBuilderFields>where
TypedBuilderFields: Sync,
impl<'a, TypedBuilderFields> Unpin for AqlQueryBuilder<'a, TypedBuilderFields>where
TypedBuilderFields: Unpin,
impl<'a, TypedBuilderFields> UnwindSafe for AqlQueryBuilder<'a, TypedBuilderFields>where
TypedBuilderFields: UnwindSafe,
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