Struct compose_yml::v2::DevicePermissions [] [src]

pub struct DevicePermissions {
    pub read: bool,
    pub write: bool,
    pub mknod: bool,
}

Permissions on devices that are mapped into the Docker container.

Fields

Can the container read from this device?

Can the container write to this device?

Can the container call mknod for this device?

Trait Implementations

impl Copy for DevicePermissions
[src]

impl Clone for DevicePermissions
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for DevicePermissions
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for DevicePermissions
[src]

impl Debug for DevicePermissions
[src]

[src]

Formats the value using the given formatter.

impl Default for DevicePermissions
[src]

[src]

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

impl Display for DevicePermissions
[src]

[src]

Formats the value using the given formatter. Read more

impl FromStr for DevicePermissions
[src]

The associated error which can be returned from parsing.

[src]

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