[][src]Struct gitlab::types::RepoDiff

pub struct RepoDiff {
    pub old_path: String,
    pub new_path: String,
    pub a_mode: String,
    pub b_mode: String,
    pub diff: String,
    pub new_file: bool,
    pub renamed_file: bool,
    pub deleted_file: bool,
}

A diff within a repository.

Fields

old_path: String

The path on the old side of the diff.

new_path: String

The path on the new side of the diff.

a_mode: String

The mode on the old side of the diff.

b_mode: String

The mode on the new side of the diff.

diff: Stringnew_file: bool

Whether the diff indicates the addition of a file.

renamed_file: bool

Whether the diff indicates the rename of a file.

deleted_file: bool

Whether the diff indicates the deletion of a file.

Trait Implementations

impl Clone for RepoDiff[src]

impl Debug for RepoDiff[src]

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

impl Serialize for RepoDiff[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.