pub struct RuntimeConf {
pub container_id: String,
pub net_ns: String,
pub if_name: String,
pub args: Vec<[String; 2]>,
pub capability_args: HashMap<String, String>,
pub cache_dir: String,
}Fields§
§container_id: String§net_ns: String§if_name: String§args: Vec<[String; 2]>§capability_args: HashMap<String, String>§cache_dir: StringImplementations§
Source§impl RuntimeConf
impl RuntimeConf
pub fn get_cache_key(&self) -> String
Trait Implementations§
Source§impl Clone for RuntimeConf
impl Clone for RuntimeConf
Source§fn clone(&self) -> RuntimeConf
fn clone(&self) -> RuntimeConf
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for RuntimeConf
impl Default for RuntimeConf
Source§fn default() -> RuntimeConf
fn default() -> RuntimeConf
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuntimeConf
impl<'de> Deserialize<'de> for RuntimeConf
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RuntimeConf
impl RefUnwindSafe for RuntimeConf
impl Send for RuntimeConf
impl Sync for RuntimeConf
impl Unpin for RuntimeConf
impl UnwindSafe for RuntimeConf
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more