Struct ocf::Mount [] [src]

pub struct Mount {
    pub kind: String,
    pub source: String,
    pub options: Vec<String>,
}

Fields

kind
source
options

Methods

impl Mount

fn kind(&self) -> &str

fn source(&self) -> &str

fn options(&self) -> &[String]

Trait Implementations

impl Deserialize for Mount

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

impl Serialize for Mount

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

Derived Implementations

impl Debug for Mount

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

impl Clone for Mount

fn clone(&self) -> Mount

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