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
impl RefUnwindSafe for PutRequest
impl Send for PutRequest
impl Sync for PutRequest
impl Unpin for PutRequest
impl UnwindSafe for PutRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T in a tonic::Request
pub fn vzip(self) -> V
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
