Enum hubcaps::git::GetReferenceResponse [] [src]

pub enum GetReferenceResponse {
    Exact(Reference),
    StartWith(Vec<Reference>),
}

The response for getting a git reference

Variants

The reference data matching the specified reference

If the reference doesn't exist in the repository but existing refs start with ref they will be returned as an array. For example, a call to get the data for a branch named feature, which doesn't exist, would return head refs including featureA and featureB which do.

Trait Implementations

impl Debug for GetReferenceResponse
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for GetReferenceResponse
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.