pub trait IdAssignment {
type ReportedId;
}Expand description
An ID assignment approach to use in the “create” strategies.
The common ID assignments are:
Required Associated Types§
Sourcetype ReportedId
type ReportedId
The reported ID type.
Examples:
AutoIdreturns the ID of the newly created assetPredefinedIdaccepts the ID to be assigned to the newly created assetDeriveAndReportIdreturns the ID derived from the input parameters