By definition, a struct is a class in which members are by default public; that is,
struct person
{
};
is equals to:
class person
{
public: //...
};
Another difference, that by default (without explicit access modifier) class inheritance means private inheritance, and struct inheritance means public inheritance.
struct person {...};
struct employee : person {...};
Means public inheritance, i.e. there is IS A relationship and implicit conversion between employee and person;
class person {...};
class employee : person {...};
Means private inheritance (i.e. employee IMPLEMENTED IN TERMS OF relationship and no implicit conversion between employee and person).
In your case classes and structs are interchangeable;