objc2_core_ml/generated/MLModelMetadataKeys.rs
1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use objc2_foundation::*;
4
5use crate::*;
6
7/// Keys to a dictionary that holds useful information about a model.
8/// All are optional with the aim of being helpful to a developer or user
9/// for descriptive purposes.
10///
11/// See also [Apple's documentation](https://developer.apple.com/documentation/coreml/mlmodelmetadatakey?language=objc)
12// NS_TYPED_ENUM
13pub type MLModelMetadataKey = NSString;
14
15extern "C" {
16 /// A short description of what the model does and/or its purpose
17 ///
18 /// See also [Apple's documentation](https://developer.apple.com/documentation/coreml/mlmodeldescriptionkey?language=objc)
19 pub static MLModelDescriptionKey: Option<&'static MLModelMetadataKey>;
20}
21
22extern "C" {
23 /// A version number encoded as a string
24 ///
25 /// See also [Apple's documentation](https://developer.apple.com/documentation/coreml/mlmodelversionstringkey?language=objc)
26 pub static MLModelVersionStringKey: Option<&'static MLModelMetadataKey>;
27}
28
29extern "C" {
30 /// The author of this model
31 ///
32 /// See also [Apple's documentation](https://developer.apple.com/documentation/coreml/mlmodelauthorkey?language=objc)
33 pub static MLModelAuthorKey: Option<&'static MLModelMetadataKey>;
34}
35
36extern "C" {
37 /// License information for the model
38 ///
39 /// See also [Apple's documentation](https://developer.apple.com/documentation/coreml/mlmodellicensekey?language=objc)
40 pub static MLModelLicenseKey: Option<&'static MLModelMetadataKey>;
41}
42
43extern "C" {
44 /// Any additional pertinent information specified by the model creator
45 ///
46 /// See also [Apple's documentation](https://developer.apple.com/documentation/coreml/mlmodelcreatordefinedkey?language=objc)
47 pub static MLModelCreatorDefinedKey: Option<&'static MLModelMetadataKey>;
48}