Struct elastic::client::requests::document_update::ScriptBuilder [] [src]

pub struct ScriptBuilder<TParams> { /* fields omitted */ }

A builder for an update script that can be configured before sending.

Methods

impl ScriptBuilder<Map<String, Value>>
[src]

[src]

Create a new script builder using the given source.

[src]

Set a script parameter.

impl<TParams> ScriptBuilder<TParams>
[src]

[src]

Set the language for the update script.

[src]

Specify a new set of parameters for the update script.

Trait Implementations

impl From<String> for ScriptBuilder<Map<String, Value>>
[src]

[src]

Performs the conversion.

impl<'a> From<&'a str> for ScriptBuilder<Map<String, Value>>
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl<TParams> Send for ScriptBuilder<TParams> where
    TParams: Send

impl<TParams> Sync for ScriptBuilder<TParams> where
    TParams: Sync