Crate tmflib_derive

Source
Expand description

Derive Crate for TMFLib traits.

Derive Macrosยง

HasAttachment
Generate functions for HasAttachment Trait
HasDescription
Implement the HasDescription Trait
HasId
Generate code for struct when HasId trait is required. NB: This trait requires both id and href fields to be present.
HasLastUpdate
Generate code for [tmflib::HasLastUpdate] trait.
HasName
Generate code for [tmflib::HasName] trait.
HasNote
Generate code for [tmflib::HasNote] trait
HasRelatedParty
Generate code for [tmflib::HasRelatedParty] trait.
HasValidity
Generate code for HasValidity trait.