Enum git2::Direction [] [src]

pub enum Direction {
    Fetch,
    Push,
}

An enumeration of the possible directions for a remote.

Variants

Fetch

Data will be fetched (read) from this remote.

Push

Data will be pushed (written) to this remote.

Trait Implementations

Derived Implementations

impl Clone for Direction

fn clone(&self) -> Direction

fn clone_from(&mut self, source: &Self)

impl Copy for Direction