Struct reql::Arg [] [src]

pub struct Arg { /* fields omitted */ }

The return type of IntoArg::into_arg

Methods

impl Arg
[src]

[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 terms 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.

Trait Implementations

impl IntoArg for Arg
[src]

[src]

Converts a supported type into Arg

impl Clone for Arg
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more