#[non_exhaustive]pub struct ProvenanceDataset {
pub format: Option<String>,
pub sha256: Option<String>,
pub rows: Option<u64>,
pub counts: BTreeMap<String, u64>,
pub licenses: Vec<String>,
}Expand description
Provenance::dataset: what it was trained on (hashes, counts and licenses; never rows).
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.format: Option<String>The dataset manifest’s format, such as an app’s name/1.
sha256: Option<String>SHA-256 of the manifest.
rows: Option<u64>§counts: BTreeMap<String, u64>Other counts by name.
licenses: Vec<String>Licenses of the data (and of a teacher model’s output, when one made it).
Trait Implementations§
Source§impl Clone for ProvenanceDataset
impl Clone for ProvenanceDataset
Source§impl Debug for ProvenanceDataset
impl Debug for ProvenanceDataset
Source§impl Default for ProvenanceDataset
impl Default for ProvenanceDataset
Source§impl<'de> Deserialize<'de> for ProvenanceDataset
impl<'de> Deserialize<'de> for ProvenanceDataset
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 ProvenanceDataset
Source§impl PartialEq for ProvenanceDataset
impl PartialEq for ProvenanceDataset
Source§impl Serialize for ProvenanceDataset
impl Serialize for ProvenanceDataset
impl StructuralPartialEq for ProvenanceDataset
Auto Trait Implementations§
impl Forget for ProvenanceDataset
impl Freeze for ProvenanceDataset
impl Move for ProvenanceDataset
impl RefUnwindSafe for ProvenanceDataset
impl Send for ProvenanceDataset
impl Sync for ProvenanceDataset
impl Unpin for ProvenanceDataset
impl UnsafeUnpin for ProvenanceDataset
impl UnwindSafe for ProvenanceDataset
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