Can we pass the Publisher object as a field in a struct before using in the init. or violates security?