SocialAccount

SocialAccount struct

Members

Variables

handle
string handle;
Undocumented in source.
homepage
string homepage;
Undocumented in source.
id
UUID id;
Undocumented in source.
platform
string platform;
Undocumented in source.

Examples

import std.uuid : UUID, sha1UUID;

auto account = SocialAccount(sha1UUID("test", sha1UUID("namespace")),
		"facebook", "konnex-engine", "konnex");
assert(is(typeof(account) == SocialAccount));
assert(is(typeof(account.id) == UUID));
assert(is(typeof(account.platform) == string));
assert(is(typeof(account.handle) == string));
assert(is(typeof(account.homepage) == string));
assert(account.id == sha1UUID("test", sha1UUID("namespace")));
assert(account.platform == "facebook");
assert(account.handle == "konnex-engine");
assert(account.homepage == "konnex");

Meta