vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Struct RedisStripped

Represents the stripped type of a struct.

struct RedisStripped(T, bool strip_id = true) ;

Strips all fields that cannot be directly stored as values in the Redis database. By default, any field named id or _id is also stripped. Set the strip_id parameter to false to keep those fields.

Constructors

NameDescription
this (src)

Methods

NameDescription
membersString ()
populateNonRedisFields (dst, values)
populateRedisFields (dst, values)
unstrip (stripped_members) Reconstructs the full (unstripped) struct value.

Aliases

NameDescription
strippedMemberIndices
StrippedMembers
unstrippedMemberIndices
UnstrippedMembers

See also

redisStrip

Authors

Sönke Ludwig

Copyright

© 2014 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.