pub struct SetCommand { /* private fields */ }

Implementations§

Set the specified expire time, in seconds.

Set the specified expire time, in milliseconds.

Only set the key if it already exist.

Only set the key if it does not already exist.

Retain the time to live associated with the key.

Trait Implementations§

Command output type
Convert command to a redis request
Create command response from a redis response

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
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.