[][src]Struct git_trim::RemoteTrackingBranch

pub struct RemoteTrackingBranch {
    pub refname: String,
}

Fields

refname: String

Methods

impl RemoteTrackingBranch[src]

pub fn new(refname: &str) -> RemoteTrackingBranch[src]

pub fn from_remote_branch(
    repo: &Repository,
    remote_branch: &RemoteBranch
) -> Result<Option<RemoteTrackingBranch>>
[src]

pub fn remote_branch(
    &self,
    repo: &Repository
) -> Result<RemoteBranch, RemoteBranchError>
[src]

Trait Implementations

impl Debug for RemoteTrackingBranch[src]

impl Eq for RemoteTrackingBranch[src]

impl Hash for RemoteTrackingBranch[src]

impl Ord for RemoteTrackingBranch[src]

impl PartialEq<RemoteTrackingBranch> for RemoteTrackingBranch[src]

impl PartialOrd<RemoteTrackingBranch> for RemoteTrackingBranch[src]

impl StructuralEq for RemoteTrackingBranch[src]

impl StructuralPartialEq for RemoteTrackingBranch[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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<V, T> VZip<V> for T where
    V: MultiLane<T>,