Struct docker_compose::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
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for DevicePermissions
[src]
fn eq(&self, __arg_0: &DevicePermissions) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DevicePermissions) -> bool
This method tests for !=
.
impl Eq for DevicePermissions
[src]
impl Debug for DevicePermissions
[src]
impl Default for DevicePermissions
[src]
fn default() -> DevicePermissions
Returns the "default value" for a type. Read more