Trait edgedb_protocol::query_arg::QueryArgs[][src]

pub trait QueryArgs: Send + Sync {
    fn encode(&self, encoder: &mut Encoder<'_>) -> Result<(), Error>;
}
Expand description

A tuple of query arguments

This trait is implemented for tuples of sizes up to twelve. And you can derive it for a structure in this case it’s treated as a named tuple (i.e. query should include named arguments rather than numerical ones).

Required methods

Implementations on Foreign Types

Implementors