pub fn derive_event_needed<T: QueryAttrs>(
    with_attrs: &T,
    db: &dyn SyntaxGroup
) -> bool
Expand description

Returns true if the type should be derived as an event.