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:
AutoId
returns the ID of the newly created assetPredefinedId
accepts the ID to be assigned to the newly created assetDeriveAndReportId
returns the ID derived from the input parameters