Struct UploadResultDocumentInfo

Root metadata observed on one OSM API diffResult response.

struct UploadResultDocumentInfo;

Current OpenStreetMap server responses inherit the ordinary API XML root attributes even though the root element is renamed to diffResult. Presence bits remain explicit because fixtures/proxies/compatible servers need not emit every optional informational attribute.

Fields

NameTypeDescription
attribution immutable(ubyte)[]
copyrightText immutable(ubyte)[]
generator immutable(ubyte)[]
hasAttribution bool
hasCopyright bool
hasGenerator bool
hasLicense bool
hasVersion bool
license immutable(ubyte)[]
versionText immutable(ubyte)[]

Methods

NameDescription
deepCopy () Create an independently mutable metadata value.