Struct store_flows::Expire
source · pub struct Expire {
pub kind: ExpireKind,
pub value: i64,
}
Expand description
The expire object to pass to set() function
If kind is ExpireKind::Ex, value should be the seconds before expiration. If kind is ExpireKind::ExAt, value should be the timestamp-seconds at which the key will expire.
Fields§
§kind: ExpireKind
§value: i64