Struct dev_scope::shared::prelude::ModelMetadata
source · pub struct ModelMetadata {
pub name: String,
pub annotations: BTreeMap<String, String>,
pub labels: BTreeMap<String, String>,
}
Fields§
§name: String
§annotations: BTreeMap<String, String>
§labels: BTreeMap<String, String>
Trait Implementations§
source§impl Clone for ModelMetadata
impl Clone for ModelMetadata
source§fn clone(&self) -> ModelMetadata
fn clone(&self) -> ModelMetadata
Returns a copy 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
source§impl<'de> Deserialize<'de> for ModelMetadata
impl<'de> Deserialize<'de> for ModelMetadata
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ModelMetadata
impl PartialEq for ModelMetadata
source§fn eq(&self, other: &ModelMetadata) -> bool
fn eq(&self, other: &ModelMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModelMetadata
impl Serialize for ModelMetadata
impl StructuralPartialEq for ModelMetadata
Auto Trait Implementations§
impl RefUnwindSafe for ModelMetadata
impl Send for ModelMetadata
impl Sync for ModelMetadata
impl Unpin for ModelMetadata
impl UnwindSafe for ModelMetadata
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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