Struct containerd_shim::util::JsonOptions
source · [−]pub struct JsonOptions {
pub no_pivot_root: bool,
pub no_new_keyring: bool,
pub shim_cgroup: String,
pub io_uid: u32,
pub io_gid: u32,
pub binary_name: String,
pub root: String,
pub criu_path: String,
pub systemd_cgroup: bool,
pub criu_image_path: String,
pub criu_work_path: String,
}Fields
no_pivot_root: boolno_new_keyring: boolshim_cgroup: Stringio_uid: u32io_gid: u32binary_name: Stringroot: Stringcriu_path: Stringsystemd_cgroup: boolcriu_image_path: Stringcriu_work_path: StringTrait Implementations
sourceimpl Debug for JsonOptions
impl Debug for JsonOptions
sourceimpl<'de> Deserialize<'de> for JsonOptions
impl<'de> Deserialize<'de> for JsonOptions
sourcefn 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
sourceimpl From<JsonOptions> for Options
impl From<JsonOptions> for Options
sourcefn from(j: JsonOptions) -> Self
fn from(j: JsonOptions) -> Self
Performs the conversion.
sourceimpl Serialize for JsonOptions
impl Serialize for JsonOptions
Auto Trait Implementations
impl RefUnwindSafe for JsonOptions
impl Send for JsonOptions
impl Sync for JsonOptions
impl Unpin for JsonOptions
impl UnwindSafe for JsonOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more