[][src]Struct reel::Commit

pub struct Commit { /* fields omitted */ }

Metadata about a git commit

Implementations

impl Commit[src]

pub fn repo(&self) -> Repo[src]

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

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

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

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

pub fn timestamp_utc(&self) -> DateTime<Utc>[src]

pub fn timestamp_local(&self) -> DateTime<Local>[src]

pub fn checkout_path(&self) -> PathBuf[src]

pub fn checkout(&self) -> Result<PathBuf, Box<dyn Error>>[src]

pub fn checkout_to(&self, path: &Path) -> Result<PathBuf, Box<dyn Error>>[src]

pub fn exec(&self, command: &str) -> Result<Command, Box<dyn Error>>[src]

pub fn make(&self) -> Result<Command, Box<dyn Error>>[src]

Trait Implementations

impl Debug for Commit[src]

impl Default for Commit[src]

impl<'de> Deserialize<'de> for Commit[src]

impl Serialize for Commit[src]

Auto Trait Implementations

impl RefUnwindSafe for Commit

impl Send for Commit

impl Sync for Commit

impl Unpin for Commit

impl UnwindSafe for Commit

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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>,