Struct OwnedChangesetComment
One Changeset-discussion comment returned by the Editing API.
struct OwnedChangesetComment;
Presence is explicit because historical/API response shapes have evolved. Comment text is owned decoded UTF-8 bytes when hasText is true.
Fields
| Name | Type | Description |
|---|---|---|
dateMilliseconds
|
long | |
hasDate
|
bool | |
hasId
|
bool | |
hasText
|
bool | |
hasUserId
|
bool | |
hasUsername
|
bool | |
hasVisibility
|
bool | |
id
|
long | |
text
|
immutable(ubyte)[] | |
userId
|
long | |
username
|
immutable(ubyte)[] | |
visible
|
bool |
Methods
| Name | Description |
|---|---|
deepCopy
()
|
Copy this comment. Immutable byte strings are intentionally shared. |