Struct ocf::RuntimeSpec [] [src]

pub struct RuntimeSpec {
    pub hooks: Hooks,
    pub mounts: BTreeMap<String, Mount>,
    pub linux: Option<Runtime>,
}

Fields

hooks
mounts
linux

Methods

impl RuntimeSpec

fn hooks(&self) -> &Hooks

fn mounts(&self) -> &BTreeMap<String, Mount>

fn linux(&self) -> Option<&Runtime>

impl RuntimeSpec

fn from_read<R: Read>(r: R) -> Result<Self>

Trait Implementations

impl Deserialize for RuntimeSpec

fn deserialize<__D>(deserializer: &mut __D) -> Result<RuntimeSpec, __D::Error> where __D: Deserializer

impl Serialize for RuntimeSpec

fn serialize<__S>(&self, serializer: &mut __S) -> Result<(), __S::Error> where __S: Serializer

Derived Implementations

impl Debug for RuntimeSpec

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for RuntimeSpec

fn clone(&self) -> RuntimeSpec

fn clone_from(&mut self, source: &Self)