Struct OwnedChangeset
Durable semantic representation of one OSM Changeset returned by the server.
struct OwnedChangeset;
Optional wire fields retain independent presence flags. In particular, bounds may be absent for an empty Changeset and discussion data may be absent simply because it was not requested.
Counts are server-reported values. createdCount/modifiedCount/deletedCount correspond to the enhanced Changeset statistics added to the Editing API in 2026 and remain optional for compatibility with older/server-specific response shapes.
Fields
| Name | Type | Description |
|---|---|---|
bounds
|
ChangesetBounds | |
changesCount
|
ulong | |
closedAtMilliseconds
|
long | |
comments
|
OwnedChangesetComment[] | Discussion comments in source order when hasDiscussion is true. |
commentsCount
|
ulong | |
createdAtMilliseconds
|
long | |
createdCount
|
ulong | |
deletedCount
|
ulong | |
hasBounds
|
bool | |
hasChangesCount
|
bool | |
hasClosedAt
|
bool | |
hasCommentsCount
|
bool | |
hasCreatedAt
|
bool | |
hasCreatedCount
|
bool | |
hasDeletedCount
|
bool | |
hasDiscussion
|
bool | Whether a discussion element was present in the source response. |
hasId
|
bool | |
hasModifiedCount
|
bool | |
hasOpenState
|
bool | |
hasUserId
|
bool | |
hasUsername
|
bool | |
id
|
long | |
modifiedCount
|
ulong | |
open
|
bool | |
tags
|
OwnedTag[] | Changeset tags in source order. |
userId
|
long | |
username
|
immutable(ubyte)[] |
Methods
| Name | Description |
|---|---|
deepCopy
()
|
Create an independently mutable Changeset snapshot. |