You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe sometimes custom derives would be needed, IMHO.
#[derive(Debug,Clone)]pubstructTableOptions<'a>{// ... other fields are omitted for brevity. /// any arbitrary derives to appendextra_derives:Vec<&'astr>}
How about this?
Thanks.
The text was updated successfully, but these errors were encountered:
i dont think such a field would be a good idea, but maybe a callback function that runs custom code to extend the list? that way no multiple fields are necessary for each struct type and extra conditions can be added.
also i dont think it is currently possible with a callback function, until #87 is merged which refactored the generation to use a vector instead of static format!("{derive1}{derive2}")
Maybe sometimes custom derives would be needed, IMHO.
How about this?
Thanks.
The text was updated successfully, but these errors were encountered: