Struct ocf::linux::Namespace [] [src]

pub struct Namespace {
    pub kind: NamespaceKind,
    pub path: Option<String>,
}

Fields

kind
path

Methods

impl Namespace

fn kind(&self) -> NamespaceKind

fn path(&self) -> Option<&str>

Trait Implementations

impl Deserialize for Namespace

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

impl Serialize for Namespace

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

Derived Implementations

impl Debug for Namespace

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

impl Clone for Namespace

fn clone(&self) -> Namespace

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