Struct cab::FileEntry[][src]

pub struct FileEntry { /* fields omitted */ }
Expand description

Metadata about one file stored in a cabinet.

Implementations

Returns the name of file.

Returns the datetime for this file. According to the CAB spec, this “is typically considered the ‘last modified’ time in local time, but the actual definition is application-defined.”

Note that this will return None if the datetime in the cabinet file was not a valid date/time.

Returns the total size of the file when decompressed, in bytes.

Returns true if this file has the “read-only” attribute set.

Returns true if this file has the “hidden” attribute set.

Returns true if this file has the “system file” attribute set.

Returns true if this file has the “archive” (modified since last backup) attribute set.

Returns true if this file has the “execute after extraction” attribute set.

Returns true if this file has the “name is UTF” attribute set.

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.

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.