pub struct ModelMetadata {
pub name: String,
pub version: String,
pub description: String,
pub author: String,
pub license: String,
pub tags: Vec<String>,
pub custom: HashMap<String, String>,
}
Fields§
§name: String
§version: String
§description: String
§license: String
§custom: HashMap<String, String>
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 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