Struct ocf::MountPoint [] [src]

pub struct MountPoint {
    pub name: String,
    pub path: String,
}

Fields

name
path

Methods

impl MountPoint

fn name(&self) -> &str

fn path(&self) -> &str

Trait Implementations

impl Deserialize for MountPoint

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

impl Serialize for MountPoint

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

Derived Implementations

impl Debug for MountPoint

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

impl Clone for MountPoint

fn clone(&self) -> MountPoint

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