[][src]Struct radicle_surf::diff::Diff

pub struct Diff {
    pub created: Vec<CreateFile>,
    pub deleted: Vec<DeleteFile>,
    pub moved: Vec<MoveFile>,
    pub modified: Vec<ModifiedFile>,
}

Fields

created: Vec<CreateFile>deleted: Vec<DeleteFile>moved: Vec<MoveFile>modified: Vec<ModifiedFile>

Methods

impl Diff[src]

pub fn diff(left: Directory, right: Directory) -> Result<Diff, DiffError>[src]

Trait Implementations

impl Debug for Diff[src]

impl Eq for Diff[src]

impl PartialEq<Diff> for Diff[src]

impl StructuralEq for Diff[src]

impl StructuralPartialEq for Diff[src]

Auto Trait Implementations

impl RefUnwindSafe for Diff

impl Send for Diff

impl Sync for Diff

impl Unpin for Diff

impl UnwindSafe for Diff

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.