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
read: bool
Can the container read from this device?
write: bool
Can the container write to this device?
mknod: bool
Can the container call mknod
for this device?
Trait Implementations
impl Copy for DevicePermissions
[src]
impl Clone for DevicePermissions
[src]
fn clone(&self) -> DevicePermissions
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for DevicePermissions
[src]
fn eq(&self, __arg_0: &DevicePermissions) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DevicePermissions) -> bool
[src]
This method tests for !=
.
impl Eq for DevicePermissions
[src]
impl Debug for DevicePermissions
[src]
impl Default for DevicePermissions
[src]
fn default() -> DevicePermissions
[src]
Returns the "default value" for a type. Read more
impl Display for DevicePermissions
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more