Struct ocf::linux::IdMap [] [src]

pub struct IdMap {
    pub host_id: u32,
    pub container_id: u32,
    pub size: u32,
}

Fields

host_id
container_id
size

Methods

impl IdMap

fn host_id(&self) -> u32

fn container_id(&self) -> u32

fn size(&self) -> u32

Trait Implementations

impl Deserialize for IdMap

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

impl Serialize for IdMap

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

Derived Implementations

impl Debug for IdMap

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

impl Clone for IdMap

fn clone(&self) -> IdMap

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