Move from_dt in update.rs to <T: GenericEvent> implementation

This should fix #229, though I can't admit I'm overly familiar with Rust or this library yet : )