[][src]Struct git_rs::objects::commit::Commit

pub struct Commit { /* fields omitted */ }

Methods

impl Commit[src]

pub fn message(&self) -> &[u8][src]

pub fn committer(&self) -> Option<&Identity>[src]

pub fn tree(&self) -> Option<Id>[src]

pub fn parents(&self) -> Option<Vec<Id>>[src]

impl Commit[src]

pub fn load<T: Read>(handle: &mut T) -> Result<Commit>[src]

Trait Implementations

impl Debug for Commit[src]

Auto Trait Implementations

impl Send for Commit

impl Sync for Commit

Blanket Implementations

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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