Skip to main content

Checkout

Trait Checkout 

Source
pub trait Checkout {
    // Required methods
    fn repo(&self) -> Option<Repo>;
    fn branch(&self) -> Option<String>;
}
Expand description

The checkout a bare number or branch, and the current branch’s PR, are read against.

Required Methods§

Source

fn repo(&self) -> Option<Repo>

The GitHub repository the remotes name.

Source

fn branch(&self) -> Option<String>

The branch checked out.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§