pub struct VersionControlDetails {
    pub as_of_time_utc: Option<String>,
    pub branch: Option<String>,
    pub mapped_to: Option<ArtifactLocation>,
    pub properties: Option<PropertyBag>,
    pub repository_uri: String,
    pub revision_id: Option<String>,
    pub revision_tag: Option<String>,
}
Expand description

Specifies the information necessary to retrieve a desired revision from a version control system.

Fields

as_of_time_utc: Option<String>

A Coordinated Universal Time (UTC) date and time that can be used to synchronize an enlistment to the state of the repository at that time.

branch: Option<String>

The name of a branch containing the revision.

mapped_to: Option<ArtifactLocation>

The location in the local file system to which the root of the repository was mapped at the time of the analysis.

properties: Option<PropertyBag>

Key/value pairs that provide additional information about the version control details.

repository_uri: String

The absolute URI of the repository.

revision_id: Option<String>

A string that uniquely and permanently identifies the revision within the repository.

revision_tag: Option<String>

A tag that has been applied to the revision.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more