vngantk
06/20/2025, 10:22 PMYoussef Shoaib [MOD]
06/20/2025, 10:26 PMinterface HasFooString { foo: String }
etc, then you simply compose them together with an intersection type.
Btw, there's some semblance of structural typing in Kotlin DataFrame, which might likely fit your needs. It uses a compiler plugin to achieve that, but it's a first-party library, so it should stay supported