[][src]Struct git2::RemoteHead

pub struct RemoteHead<'remote> { /* fields omitted */ }

Description of a reference advertised bya remote server, given out on calls to list.

Methods

impl<'remote> RemoteHead<'remote>
[src]

pub fn is_local(&self) -> bool
[src]

Flag if this is available locally.

pub fn oid(&self) -> Oid
[src]

pub fn loid(&self) -> Oid
[src]

pub fn name(&self) -> &str
[src]

pub fn symref_target(&self) -> Option<&str>
[src]

Auto Trait Implementations

impl<'remote> !Send for RemoteHead<'remote>

impl<'remote> !Sync for RemoteHead<'remote>

Blanket Implementations

impl<T> From for T
[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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