Implemented toString for Request

This commit is contained in:
Tristan B. Kildaire 2020-06-23 15:06:27 +02:00
parent 612bd9fc8c
commit e7c99ebf5e
1 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,7 @@
module tristanable.request;
import std.conv : to;
/**
* Request
*
@ -45,4 +47,9 @@ public final class Request
{
return fulfilled;
}
override public string toString()
{
return "Request (Tag: " ~ to!(string)(tag) ~ ", Arrived: " ~ to!(string)(fulfilled) ~ ", Used: " ~ to!(string)(isDead);
}
}