Struct mpd::mount::Mount [] [src]

pub struct Mount {
    pub name: String,
    pub storage: String,
}

Mount point

Fields

name: String

mount point name

storage: String

mount storage URI

Methods

impl Mount
[src]

fn from_map(map: BTreeMap<StringString>) -> Result<MountError>

build mount from map

Trait Implementations

impl PartialEq for Mount
[src]

fn eq(&self, __arg_0: &Mount) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Mount) -> bool

This method tests for !=.

impl Debug for Mount
[src]

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

Formats the value using the given formatter.

impl Clone for Mount
[src]

fn clone(&self) -> Mount

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more