#[non_exhaustive]pub struct ProvenanceBase {
pub id: Option<String>,
pub hub: Option<String>,
pub revision: Option<String>,
pub quant: Option<String>,
pub sha256: Option<String>,
}Expand description
Provenance::base: the model an artifact was made from or runs on.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: Option<String>The base’s id where it runs (a served or stored model id).
hub: Option<String>Its Hub id (owner/name).
revision: Option<String>§quant: Option<String>§sha256: Option<String>Trait Implementations§
Source§impl Clone for ProvenanceBase
impl Clone for ProvenanceBase
Source§impl Debug for ProvenanceBase
impl Debug for ProvenanceBase
Source§impl Default for ProvenanceBase
impl Default for ProvenanceBase
Source§impl<'de> Deserialize<'de> for ProvenanceBase
impl<'de> Deserialize<'de> for ProvenanceBase
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
impl Eq for ProvenanceBase
Source§impl PartialEq for ProvenanceBase
impl PartialEq for ProvenanceBase
Source§impl Serialize for ProvenanceBase
impl Serialize for ProvenanceBase
impl StructuralPartialEq for ProvenanceBase
Auto Trait Implementations§
impl Forget for ProvenanceBase
impl Freeze for ProvenanceBase
impl Move for ProvenanceBase
impl RefUnwindSafe for ProvenanceBase
impl Send for ProvenanceBase
impl Sync for ProvenanceBase
impl Unpin for ProvenanceBase
impl UnsafeUnpin for ProvenanceBase
impl UnwindSafe for ProvenanceBase
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