function that will print a struct swift code example
Example: swift print struct name
// Swift 5
print("Name of struct instance type> \(type(of: structInstance.self))")
print("Name of struct type> \(StructType.self)")
// Swift 5
print("Name of struct instance type> \(type(of: structInstance.self))")
print("Name of struct type> \(StructType.self)")