Struct rs_es::operations::common::Options [] [src]

pub struct Options<'a>(pub Vec<(&'a str, OptionVal)>);

Every ES operation has a set of options

Methods

impl<'a> Options<'a>
[src]

Add a value

use rs_es::operations::common::Options;
let mut options = Options::new();
options.push("a", 1);
options.push("b", "2");

Trait Implementations

impl<'a> Display for Options<'a>
[src]

Formats the value using the given formatter.