pub struct Model {Show 23 fields
pub id: String,
pub project_id: String,
pub name: String,
pub description: String,
pub collection: String,
pub version: String,
pub model_type: ModelType,
pub status: String,
pub supported_version: String,
pub labels: Vec<String>,
pub embedding_dim: i32,
pub mode: String,
pub label_field: String,
pub num_samples: i32,
pub skipped: i32,
pub label_grouping: HashMap<String, Vec<String>>,
pub classifier_selection_strategy: HashMap<String, Value>,
pub file_path: String,
pub file_size: i64,
pub enabled: bool,
pub created_at: Value,
pub updated_at: Value,
pub deleted_at: Option<Value>,
}Fields§
§id: String§project_id: String§name: String§description: String§collection: String§version: String§model_type: ModelType§status: String§supported_version: String§labels: Vec<String>§embedding_dim: i32§mode: String§label_field: String§num_samples: i32§skipped: i32§label_grouping: HashMap<String, Vec<String>>§classifier_selection_strategy: HashMap<String, Value>§file_path: String§file_size: i64§enabled: bool§created_at: Value§updated_at: Value§deleted_at: Option<Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Model
impl<'de> Deserialize<'de> for Model
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Model
impl RefUnwindSafe for Model
impl Send for Model
impl Sync for Model
impl Unpin for Model
impl UnsafeUnpin for Model
impl UnwindSafe for Model
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more