[][src]Struct google_containeranalysis1_beta1::Source

pub struct Source {
    pub artifact_storage_source_uri: Option<String>,
    pub file_hashes: Option<HashMap<String, FileHashes>>,
    pub additional_contexts: Option<Vec<SourceContext>>,
    pub context: Option<SourceContext>,
}

Source describes the location of the source used for the build.

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

Fields

artifact_storage_source_uri: Option<String>

If provided, the input binary artifacts for the build came from this location.

file_hashes: Option<HashMap<String, FileHashes>>

Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build.

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.

additional_contexts: Option<Vec<SourceContext>>

If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.

context: Option<SourceContext>

If provided, the source code used for the build came from this location.

Trait Implementations

impl Part for Source[src]

impl Default for Source[src]

impl Clone for Source[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Source[src]

impl Serialize for Source[src]

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

Auto Trait Implementations

impl Send for Source

impl Unpin for Source

impl Sync for Source

impl UnwindSafe for Source

impl RefUnwindSafe for Source

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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