Struct ocf::RuntimeSpec
[−]
[src]
pub struct RuntimeSpec { pub hooks: Hooks, pub mounts: BTreeMap<String, Mount>, pub linux: Option<Runtime>, }
Fields
hooks | |
mounts | |
linux |
pub struct RuntimeSpec { pub hooks: Hooks, pub mounts: BTreeMap<String, Mount>, pub linux: Option<Runtime>, }
hooks | |
mounts | |
linux |
impl RuntimeSpec
fn hooks(&self) -> &Hooks
fn mounts(&self) -> &BTreeMap<String, Mount>
fn linux(&self) -> Option<&Runtime>
impl RuntimeSpec
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
impl Debug for RuntimeSpec
impl Clone for RuntimeSpec
fn clone(&self) -> RuntimeSpec
fn clone_from(&mut self, source: &Self)