pub struct ArtifactFormat {
pub package: String,
pub name: String,
pub version: u32,
}Expand description
Identifies an artifact’s data format as a structured tuple of (package, name, version).
package— the package that owns and defines this format, resolvable through the language’s normal package system (e.g."binoc","binoc-csv","acme-parquet").name— the format name within that package (e.g."tabular","relational-schema").version— a single integer. Bump only for breaking schema changes. Adding optional fields to an existing version is fine and does not require a bump (JSON/serde naturally ignore unknown fields and default missing ones).
Fields§
§package: String§name: String§version: u32Implementations§
Trait Implementations§
Source§impl Clone for ArtifactFormat
impl Clone for ArtifactFormat
Source§fn clone(&self) -> ArtifactFormat
fn clone(&self) -> ArtifactFormat
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 ArtifactFormat
impl Debug for ArtifactFormat
Source§impl<'de> Deserialize<'de> for ArtifactFormat
impl<'de> Deserialize<'de> for ArtifactFormat
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 Display for ArtifactFormat
impl Display for ArtifactFormat
Source§impl Hash for ArtifactFormat
impl Hash for ArtifactFormat
Source§impl PartialEq for ArtifactFormat
impl PartialEq for ArtifactFormat
Source§impl Serialize for ArtifactFormat
impl Serialize for ArtifactFormat
impl Eq for ArtifactFormat
impl StructuralPartialEq for ArtifactFormat
Auto Trait Implementations§
impl Freeze for ArtifactFormat
impl RefUnwindSafe for ArtifactFormat
impl Send for ArtifactFormat
impl Sync for ArtifactFormat
impl Unpin for ArtifactFormat
impl UnsafeUnpin for ArtifactFormat
impl UnwindSafe for ArtifactFormat
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