@@ -1280,7 +1280,7 @@ struct EmailStatus
12801280 * domainPart = the domain part of the email address
12811281 * statusCode = the status code
12821282 */
1283- private this (bool valid, string localPart, string domainPart, EmailStatusCode statusCode)
1283+ private this (bool valid, string localPart, string domainPart, EmailStatusCode statusCode) @safe @nogc pure nothrow
12841284 {
12851285 this .valid_ = valid;
12861286 this .localPart_ = localPart;
@@ -1289,37 +1289,37 @@ struct EmailStatus
12891289 }
12901290
12911291 // / Indicates if the email address is valid or not.
1292- @property bool valid () const
1292+ @property bool valid() const @safe @nogc pure nothrow
12931293 {
12941294 return valid_;
12951295 }
12961296
12971297 // / The local part of the email address, that is, the part before the @ sign.
1298- @property string localPart () const
1298+ @property string localPart() const @safe @nogc pure nothrow
12991299 {
13001300 return localPart_;
13011301 }
13021302
13031303 // / The domain part of the email address, that is, the part after the @ sign.
1304- @property string domainPart () const
1304+ @property string domainPart() const @safe @nogc pure nothrow
13051305 {
13061306 return domainPart_;
13071307 }
13081308
13091309 // / The email status code
1310- @property EmailStatusCode statusCode () const
1310+ @property EmailStatusCode statusCode() const @safe @nogc pure nothrow
13111311 {
13121312 return statusCode_;
13131313 }
13141314
13151315 // / Returns a describing string of the status code
1316- @property string status () const
1316+ @property string status() const @safe @nogc pure nothrow
13171317 {
13181318 return statusCodeDescription (statusCode_);
13191319 }
13201320
13211321 // / Returns a textual representation of the email status
1322- string toString () const
1322+ string toString () const @safe pure
13231323 {
13241324 import std.format : format;
13251325 return format (" EmailStatus\n {\n\t valid: %s\n\t localPart: %s\n\t domainPart: %s\n\t statusCode: %s\n }" , valid,
@@ -1328,7 +1328,7 @@ struct EmailStatus
13281328}
13291329
13301330// / Returns a describing string of the given status code
1331- string statusCodeDescription (EmailStatusCode statusCode)
1331+ string statusCodeDescription (EmailStatusCode statusCode) @safe @nogc pure nothrow
13321332{
13331333 final switch (statusCode)
13341334 {
0 commit comments