Enum hubcaps::git::GetReferenceResponse
source · Expand description
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
sourceimpl Debug for GetReferenceResponse
impl Debug for GetReferenceResponse
sourceimpl<'de> Deserialize<'de> for GetReferenceResponse
impl<'de> Deserialize<'de> for GetReferenceResponse
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<GetReferenceResponse> for GetReferenceResponse
impl PartialEq<GetReferenceResponse> for GetReferenceResponse
sourcefn eq(&self, other: &GetReferenceResponse) -> bool
fn eq(&self, other: &GetReferenceResponse) -> bool
impl StructuralPartialEq for GetReferenceResponse
Auto Trait Implementations
impl RefUnwindSafe for GetReferenceResponse
impl Send for GetReferenceResponse
impl Sync for GetReferenceResponse
impl Unpin for GetReferenceResponse
impl UnwindSafe for GetReferenceResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more