Struct distant_core::Metadata[][src]

pub struct Metadata {
    pub file_type: FileType,
    pub len: u64,
    pub readonly: bool,
    pub canonicalized_path: Option<PathBuf>,
    pub accessed: Option<u128>,
    pub created: Option<u128>,
    pub modified: Option<u128>,
}
Expand description

Represents metadata about some path on a remote machine

Fields

file_type: FileTypelen: u64readonly: boolcanonicalized_path: Option<PathBuf>accessed: Option<u128>created: Option<u128>modified: Option<u128>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.