Enum git2::DiffFormat [−][src]
pub enum DiffFormat { Patch, PatchHeader, Raw, NameOnly, NameStatus, }
Possible output formats for diff data
Variants
Patch
full git diff
PatchHeader
just the headers of the patch
Raw
like git diff --raw
NameOnly
like git diff --name-only
NameStatus
like git diff --name-status
Trait Implementations
impl Copy for DiffFormat
[src]
impl Copy for DiffFormat
impl Clone for DiffFormat
[src]
impl Clone for DiffFormat
fn clone(&self) -> DiffFormat
[src]
fn clone(&self) -> DiffFormat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for DiffFormat
impl Send for DiffFormat
impl Sync for DiffFormat
impl Sync for DiffFormat