pub struct ModelMetadata {
pub model_type: String,
pub size_mb: f64,
pub architecture: String,
pub precision: String,
}Expand description
Model metadata for plugin context
Fields§
§model_type: String§size_mb: f64§architecture: String§precision: StringTrait Implementations§
Source§impl Clone for ModelMetadata
impl Clone for ModelMetadata
Source§fn clone(&self) -> ModelMetadata
fn clone(&self) -> ModelMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModelMetadata
impl Debug for ModelMetadata
Source§impl From<ModelMetadata> for SerializableModelMetadata
impl From<ModelMetadata> for SerializableModelMetadata
Source§fn from(metadata: ModelMetadata) -> Self
fn from(metadata: ModelMetadata) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ModelMetadata
impl RefUnwindSafe for ModelMetadata
impl Send for ModelMetadata
impl Sync for ModelMetadata
impl Unpin for ModelMetadata
impl UnsafeUnpin for ModelMetadata
impl UnwindSafe for ModelMetadata
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