pub struct CustomModelMetadata {
pub plugin_name: String,
pub plugin_version: String,
pub is_fitted: bool,
pub n_samples: Option<usize>,
pub n_features: Option<usize>,
pub n_components: Option<usize>,
pub training_time: Option<f64>,
pub parameters: HashMap<String, ParameterValue>,
}Expand description
Custom model metadata
Fields§
§plugin_name: Stringplugin_name
plugin_version: Stringplugin_version
is_fitted: boolis_fitted
n_samples: Option<usize>n_samples
n_features: Option<usize>n_features
n_components: Option<usize>n_components
training_time: Option<f64>training_time
parameters: HashMap<String, ParameterValue>parameters
Trait Implementations§
Source§impl Clone for CustomModelMetadata
impl Clone for CustomModelMetadata
Source§fn clone(&self) -> CustomModelMetadata
fn clone(&self) -> CustomModelMetadata
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 moreSource§impl Debug for CustomModelMetadata
impl Debug for CustomModelMetadata
Source§impl PartialEq for CustomModelMetadata
impl PartialEq for CustomModelMetadata
impl StructuralPartialEq for CustomModelMetadata
Auto Trait Implementations§
impl Freeze for CustomModelMetadata
impl RefUnwindSafe for CustomModelMetadata
impl Send for CustomModelMetadata
impl Sync for CustomModelMetadata
impl Unpin for CustomModelMetadata
impl UnsafeUnpin for CustomModelMetadata
impl UnwindSafe for CustomModelMetadata
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more