[][src]Struct revelio::Manifest

pub struct Manifest {
    pub version: u32,
    pub datetime: String,
    pub context: Context,
    pub artifacts: ArtifactUrlMap,
}

Structure of the revelio.json manifest file

Fields

version: u32

Version of the JSON file, to track schema changes

datetime: String

Date & time of generation, ISO-8601 UTC

context: Context

Public CI information

artifacts: ArtifactUrlMap

Dictionary of artifacts url: hash

Methods

impl Manifest[src]

pub fn from_filesystem(path: &PathBuf, base_url: &str) -> Self[src]

Create a Manifest from the filesystem and environment

This will sniff out a Context from the environment and walk the given directory to build the artifact map.

Trait Implementations

impl Debug for Manifest[src]

impl Serialize for Manifest[src]

impl<'de> Deserialize<'de> for Manifest[src]

Auto Trait Implementations

impl Send for Manifest

impl Sync for Manifest

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self