vibe.d beta banner
get vibe.d
0.7.30

Function redisStrip

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.

Prototype

RedisStripped!(T,strip_id) redisStrip(bool strip_id, T)(
  in T val
);
block ddox.authorsblock ddox.copyrightblock ddox.license
Authors
Copyright
License