I have a class A with a struct:
public ClassA { public struct DataA { public let name: String public let Id: Int public init(name: