made-api 0.6.0

Published contract of the embedded MADE: versioned views, capabilities and errors
Documentation
1
2
3
4
5
6
7
8
9
10
use serde::{Deserialize, Serialize};

/// A definition that is now published, or already was.
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct PublishedDefinitionView {
    pub name: String,
    pub version: String,
    pub digest: String,
    pub already_published: bool,
}