[][src]Struct git_trim::RemoteTrackingBranch

pub struct RemoteTrackingBranch {
    pub refname: String,
}

Fields

refname: String

Implementations

impl RemoteTrackingBranch[src]

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

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

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

Trait Implementations

impl Clone for RemoteTrackingBranch[src]

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 Refname for RemoteTrackingBranch[src]

impl StructuralEq for RemoteTrackingBranch[src]

impl StructuralPartialEq for RemoteTrackingBranch[src]

impl<'repo, '_> TryFrom<&'_ Branch<'repo>> for RemoteTrackingBranch[src]

type Error = Error

The type returned in the event of a conversion error.

impl<'repo, '_> TryFrom<&'_ Reference<'repo>> for RemoteTrackingBranch[src]

type Error = Error

The type returned in the event of a conversion error.

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,