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

impl Clone for Direction
[src]

fn clone(&self) -> Direction

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for Direction
[src]