Enum hubcaps::git::GetReferenceResponse
[−]
[src]
pub enum GetReferenceResponse { Exact(Reference), StartWith(Vec<Reference>), }
The response for getting a git reference
Variants
Exact(Reference)
The reference data matching the specified reference
StartWith(Vec<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]
impl PartialEq for GetReferenceResponse
[src]
fn eq(&self, __arg_0: &GetReferenceResponse) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetReferenceResponse) -> bool
[src]
This method tests for !=
.