Struct etcd_rs::PutRequest[][src]

pub struct PutRequest { /* fields omitted */ }
Expand description

Request for putting key-value.

Implementations

Creates a new PutRequest for saving the specified key-value.

Sets the lease ID to associate with the key in the key-value store. A lease value of 0 indicates no lease.

When set, responds with the key-value pair data before the update from this Put request.

When set, update the key without changing its current value. Returns an error if the key does not exist.

When set, update the key without changing its current lease. Returns an error if the key does not exist.

Trait Implementations

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more