Struct zip::write::FileOptions [] [src]

pub struct FileOptions { /* fields omitted */ }

Metadata for a file to be written

Methods

impl FileOptions
[src]

[src]

Construct a new FileOptions object

[src]

Set the compression method for the new file

The default is CompressionMethod::Deflated. If the deflate compression feature is disabled, CompressionMethod::Stored becomes the default. otherwise.

[src]

Set the last modified time

The default is the current timestamp

[src]

Set the permissions for the new file.

The format is represented with unix-style permissions. The default is 0o644, which represents rw-r--r-- for files, and 0o755, which represents rwxr-xr-x for directories

Trait Implementations

impl Copy for FileOptions
[src]

impl Clone for FileOptions
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more