[][src]Struct roost_app::state::entry_contents::DirEntry

pub struct DirEntry {
    pub name: String,
    pub is_dir: bool,
    pub status: Option<Status>,
    pub latest_patch: PatchHeader,
}

Information of an entry within some directory in the repository

Fields

name: String

The file name of the entry

is_dir: bool

Whether the entry is a file or directory

status: Option<Status>

The optional changed status of the entry

latest_patch: PatchHeader

Information about the last recorded patch that touched this entry or one of its descendants

Trait Implementations

impl PartialEq<DirEntry> for DirEntry[src]

impl Clone for DirEntry[src]

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

Performs copy-assignment from source. Read more

impl Serialize for DirEntry[src]

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

fn deserialize_in_place<D>(
    deserializer: D,
    place: &mut Self
) -> Result<(), <D as Deserializer<'de>>::Error> where
    D: Deserializer<'de>, 
[src]

Deserializes a value into self from the given Deserializer. Read more

Auto Trait Implementations

impl Send for DirEntry

impl Sync for DirEntry

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]