[][src]Struct cri::structs::Mount

pub struct Mount {
    pub container_path: String,
    pub host_path: String,
    pub readonly: bool,
    pub selinux_relabel: bool,
    pub propagation: MountPropagation,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

container_path: Stringhost_path: Stringreadonly: boolselinux_relabel: boolpropagation: MountPropagationunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl Mount[src]

pub fn new() -> Mount[src]

pub fn get_container_path(&self) -> &str[src]

pub fn clear_container_path(&mut self)[src]

pub fn set_container_path(&mut self, v: String)[src]

pub fn mut_container_path(&mut self) -> &mut String[src]

pub fn take_container_path(&mut self) -> String[src]

pub fn get_host_path(&self) -> &str[src]

pub fn clear_host_path(&mut self)[src]

pub fn set_host_path(&mut self, v: String)[src]

pub fn mut_host_path(&mut self) -> &mut String[src]

pub fn take_host_path(&mut self) -> String[src]

pub fn get_readonly(&self) -> bool[src]

pub fn clear_readonly(&mut self)[src]

pub fn set_readonly(&mut self, v: bool)[src]

pub fn get_selinux_relabel(&self) -> bool[src]

pub fn clear_selinux_relabel(&mut self)[src]

pub fn set_selinux_relabel(&mut self, v: bool)[src]

pub fn get_propagation(&self) -> MountPropagation[src]

pub fn clear_propagation(&mut self)[src]

pub fn set_propagation(&mut self, v: MountPropagation)[src]

Trait Implementations

impl Clear for Mount[src]

impl Clone for Mount[src]

impl Debug for Mount[src]

impl Default for Mount[src]

impl<'a> Default for &'a Mount[src]

impl Message for Mount[src]

impl PartialEq<Mount> for Mount[src]

impl ProtobufValue for Mount[src]

impl StructuralPartialEq for Mount[src]

Auto Trait Implementations

impl RefUnwindSafe for Mount

impl Send for Mount

impl Sync for Mount

impl Unpin for Mount

impl UnwindSafe for Mount

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.