[][src]Struct libanu::record::Recorded

pub struct Recorded {
    pub contents: Vec<u8>,
    pub actions: Vec<Record<Option<ChangeId>, Local>>,
    pub updatables: HashMap<usize, InodeUpdate>,
    pub largest_file: u64,
    pub has_binary_files: bool,
}

The result of recording a change:

Fields

contents: Vec<u8>

The "byte contents" of the change.

actions: Vec<Record<Option<ChangeId>, Local>>

The current records, to be lated converted into change operations.

updatables: HashMap<usize, InodeUpdate>

The updates that need to be made to the ~tree~ and ~revtree~ tables when this change is applied to the local repository.

largest_file: u64

The size of the largest file that was recorded in this change.

has_binary_files: bool

Whether we have recorded binary files.

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,