Skip to content

FromRow is not working for type wrapper  #852

@DylanVerstraete

Description

@DylanVerstraete

I have this custom type wrapper for uuid:

#[derive(Debug, Clone, FromRow)]
pub struct FileId(Uuid);

And I am getting error: derive(FromRow) works only for structs with named fields

Is there a reason that this does not work or is there a workaround?

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions