Templated USTRUCT?

template<typename T>
struct FTemplateStruct: public TSharedFromThis<FTemplateStruct> {

	TSubclassOf<T> Class;

	T* Object;

};

this is also not working, then the question, how to make sucha struct not to be cleared by garbage collector?