pub struct ArtifactReport {
pub manifest: String,
pub present: bool,
pub schema: String,
pub documents: Vec<DocumentView>,
pub artifacts: Vec<ArtifactView>,
pub tallies: ArtifactTallies,
pub verdict: ArtifactVerdict,
pub regenerate: String,
pub verify: String,
}Expand description
The answer of artifacts.list.
Fields§
§manifest: StringThe manifest this was read from, repository-relative.
present: boolWhether the manifest is committed in this repository at all. A repository that has
never run majordomus generate has no generated tree, which is a fact about it and
not a failure of this call: every list below is then empty and every tally zero.
schema: StringThe schema the manifest carries, empty when there is none to read.
documents: Vec<DocumentView>The documents, in the manifest’s order.
artifacts: Vec<ArtifactView>The files, in the manifest’s order, after any filter.
tallies: ArtifactTalliesThe counts.
verdict: ArtifactVerdictWhere the tree stands as a whole, decided from every tally.
regenerate: StringThe command that rewrites every one of them.
verify: StringThe command that decides staleness byte for byte, which is stronger than the hash.
Trait Implementations§
Source§impl Clone for ArtifactReport
impl Clone for ArtifactReport
Source§fn clone(&self) -> ArtifactReport
fn clone(&self) -> ArtifactReport
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 ArtifactReport
impl Debug for ArtifactReport
Source§impl<'de> Deserialize<'de> for ArtifactReport
impl<'de> Deserialize<'de> for ArtifactReport
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 JsonSchema for ArtifactReport
impl JsonSchema for ArtifactReport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ArtifactReport
impl RefUnwindSafe for ArtifactReport
impl Send for ArtifactReport
impl Sync for ArtifactReport
impl Unpin for ArtifactReport
impl UnsafeUnpin for ArtifactReport
impl UnwindSafe for ArtifactReport
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