pub struct ModelRecord {
pub model_id: ModelId,
pub role: ModelRole,
pub model_name: String,
pub model_version: String,
pub local_path: Option<String>,
pub license_summary: Option<String>,
pub size_bytes: Option<u64>,
pub backend: Option<String>,
pub dimension: Option<u32>,
pub status: ModelStatus,
pub last_validated_at: Option<String>,
}Expand description
A registered model record.
Fields§
§model_id: ModelId§role: ModelRole§model_name: String§model_version: String§local_path: Option<String>§license_summary: Option<String>§size_bytes: Option<u64>§backend: Option<String>§dimension: Option<u32>§status: ModelStatus§last_validated_at: Option<String>Trait Implementations§
Source§impl Clone for ModelRecord
impl Clone for ModelRecord
Source§fn clone(&self) -> ModelRecord
fn clone(&self) -> ModelRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ModelRecord
impl RefUnwindSafe for ModelRecord
impl Send for ModelRecord
impl Sync for ModelRecord
impl Unpin for ModelRecord
impl UnsafeUnpin for ModelRecord
impl UnwindSafe for ModelRecord
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