pub struct ModelMetadata {
pub author: Option<String>,
pub description: Option<String>,
pub version: Option<String>,
pub license: Option<String>,
pub predicted_feature_name: Option<String>,
pub predicted_probabilities_name: Option<String>,
pub is_updatable: bool,
}Expand description
Model metadata.
Fields§
§description: Option<String>§version: Option<String>§license: Option<String>§predicted_feature_name: Option<String>The name of the predicted feature (for classifier models).
predicted_probabilities_name: Option<String>The name of the predicted probabilities feature (for classifier models).
is_updatable: boolWhether the model supports on-device updates.
Trait 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 Default for ModelMetadata
impl Default for ModelMetadata
Source§fn default() -> ModelMetadata
fn default() -> ModelMetadata
Returns the “default value” for a type. Read more
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