pub struct CanonicalModelRecord {
pub id: CanonicalModelId,
pub name: String,
pub description: String,
pub family: Option<String>,
pub release_date: String,
pub last_updated: String,
pub metadata_digest: String,
}Expand description
Safe metadata-only canonical record. It cannot select runtime behavior.
Fields§
§id: CanonicalModelId§name: String§description: String§family: Option<String>§release_date: String§last_updated: String§metadata_digest: StringTrait Implementations§
Source§impl Clone for CanonicalModelRecord
impl Clone for CanonicalModelRecord
Source§fn clone(&self) -> CanonicalModelRecord
fn clone(&self) -> CanonicalModelRecord
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 CanonicalModelRecord
impl Debug for CanonicalModelRecord
Source§impl<'de> Deserialize<'de> for CanonicalModelRecord
impl<'de> Deserialize<'de> for CanonicalModelRecord
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 CanonicalModelRecord
impl PartialEq for CanonicalModelRecord
Source§fn eq(&self, other: &CanonicalModelRecord) -> bool
fn eq(&self, other: &CanonicalModelRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CanonicalModelRecord
impl Serialize for CanonicalModelRecord
impl StructuralPartialEq for CanonicalModelRecord
Auto Trait Implementations§
impl Freeze for CanonicalModelRecord
impl RefUnwindSafe for CanonicalModelRecord
impl Send for CanonicalModelRecord
impl Sync for CanonicalModelRecord
impl Unpin for CanonicalModelRecord
impl UnsafeUnpin for CanonicalModelRecord
impl UnwindSafe for CanonicalModelRecord
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