redisStrip

fnRedisStripped!(T, strip_id) redisStrip(bool strip_id = true, T)(in T val)

Strips all non-Redis fields from a struct.

The returned struct will contain only fiels that can be converted using

toRedis and that have names different than "id" or "_id".

To reconstruct the full struct type, use the RedisStripped.unstrip method.