Depends on what kind of plug your trailer has, what voltage and amperage the generator supplies, and what receptacle your generator has.
If it supplies 30 amps at 120V through a single receptacle, you can probably purchase appropriate adapters and just plug in.