Struct p4_cmd::FileTypeModifiers[][src]

pub struct FileTypeModifiers {
    pub always_writeable: bool,
    pub executable: bool,
    pub rcs_expansion: bool,
    pub exclusive: bool,
    pub full: bool,
    pub deltas: bool,
    pub full_uncompressed: bool,
    pub head: bool,
    pub revisions: Option<usize>,
    pub modtime: bool,
    pub archive: bool,
    // some fields omitted
}

Perforce file type modifiers.

Example

let mut modifiers = p4_cmd::FileTypeModifiers::new();
modifiers.exclusive = true;
assert_eq!(modifiers.to_string(), "l");
assert_eq!("l".parse::<p4_cmd::FileTypeModifiers>().unwrap(), modifiers);

Fields

File is always writable on client

Execute bit set on client

RCS keyword expansion

Exclusive open (locking)

Perforce stores the full compressed version of each file revision

Perforce stores deltas in RCS format

Perforce stores full file per revision, uncompressed

Only the head revision is stored

Only the most recent n revisions are stored

Preserve original modtime

Archive trigger required

Methods

impl FileTypeModifiers
[src]

Trait Implementations

impl Debug for FileTypeModifiers
[src]

Formats the value using the given formatter. Read more

impl Clone for FileTypeModifiers
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for FileTypeModifiers
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for FileTypeModifiers
[src]

impl Default for FileTypeModifiers
[src]

Returns the "default value" for a type. Read more

impl FromStr for FileTypeModifiers
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl Display for FileTypeModifiers
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations