#[derive(EdifactSerialize)]
{
// Attributes available to this derive:
#[edifact]
}
Expand description
Derive edifact_rs::EdifactSerialize for segment or message structs.
ยงLimitations
- No generics: the struct must not have generic type parameters.
- No lifetime parameters: the struct must own all its data (
String, not&str). Borrow-based structs such asSegment<'a>cannot use this derive macro.