[][src]Struct google_cloudbuild1::SourceProvenance

pub struct SourceProvenance {
    pub resolved_repo_source: Option<RepoSource>,
    pub file_hashes: Option<HashMap<String, FileHashes>>,
    pub resolved_storage_source: Option<StorageSource>,
}

Provenance of the source. Ways to find the original source, or verify that some source was used for this build.

This type is not used in any activity, and only used as part of another schema.

Fields

resolved_repo_source: Option<RepoSource>

A copy of the build's source.repo_source, if exists, with any revisions resolved.

file_hashes: Option<HashMap<String, FileHashes>>

Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that FileHashes will only be populated if BuildOptions has requested a SourceProvenanceHash.

The keys to this map are file paths used as build source and the values contain the hash values for those files.

If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.

resolved_storage_source: Option<StorageSource>

A copy of the build's source.storage_source, if exists, with any generations resolved.

Trait Implementations

impl Clone for SourceProvenance[src]

impl Debug for SourceProvenance[src]

impl Default for SourceProvenance[src]

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

impl Part for SourceProvenance[src]

impl Serialize for SourceProvenance[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> Typeable for T where
    T: Any