[−][src]Struct git_trim::RemoteTrackingBranch
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]
repo: &Repository,
remote_branch: &RemoteBranch
) -> Result<Option<RemoteTrackingBranch>>
pub fn remote_branch(
&self,
repo: &Repository
) -> Result<RemoteBranch, RemoteBranchError>
[src]
&self,
repo: &Repository
) -> Result<RemoteBranch, RemoteBranchError>
Trait Implementations
impl Debug for RemoteTrackingBranch
[src]
impl Eq for RemoteTrackingBranch
[src]
impl Hash for RemoteTrackingBranch
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for RemoteTrackingBranch
[src]
fn cmp(&self, other: &RemoteTrackingBranch) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<RemoteTrackingBranch> for RemoteTrackingBranch
[src]
fn eq(&self, other: &RemoteTrackingBranch) -> bool
[src]
fn ne(&self, other: &RemoteTrackingBranch) -> bool
[src]
impl PartialOrd<RemoteTrackingBranch> for RemoteTrackingBranch
[src]
fn partial_cmp(&self, other: &RemoteTrackingBranch) -> Option<Ordering>
[src]
fn lt(&self, other: &RemoteTrackingBranch) -> bool
[src]
fn le(&self, other: &RemoteTrackingBranch) -> bool
[src]
fn gt(&self, other: &RemoteTrackingBranch) -> bool
[src]
fn ge(&self, other: &RemoteTrackingBranch) -> bool
[src]
impl StructuralEq for RemoteTrackingBranch
[src]
impl StructuralPartialEq for RemoteTrackingBranch
[src]
Auto Trait Implementations
impl RefUnwindSafe for RemoteTrackingBranch
impl Send for RemoteTrackingBranch
impl Sync for RemoteTrackingBranch
impl Unpin for RemoteTrackingBranch
impl UnwindSafe for RemoteTrackingBranch
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,