Struct reql::Arg
[−]
[src]
pub struct Arg { /* fields omitted */ }
The return type of IntoArg::into_arg
Methods
impl Arg
[src]
pub fn new() -> Arg
[src]
Create a new command argument
This is the return type of the IntoArg
trait. You need to
use Arg::new
to create an argument when implementing that
trait for any additional types that you want to pass to ReQL
commands.
ReQL commands are represented as term
s so you must first
convert your argument to a term and pass it as term
to this method.
For debugging and logging purposes, this method also requires that you
pass the string representation of your argument i.e. as_str
.