Skip to main content

option

Method
This is a method of the MemoryPreset class in the presets module.
Add an option

Signature

def option(mut self, key: impl Into<String>, value: impl Into<serde_json::Value>) -> Self

Parameters

key
impl Into<String>
required
No description available.
value
impl Into<serde_json::Value>
required
No description available.

Returns

Returns
Self
The result of the operation.