[][src]Struct pulsectl::controllers::types::ServerInfo

pub struct ServerInfo {
    pub user_name: Option<String>,
    pub host_name: Option<String>,
    pub server_version: Option<String>,
    pub server_name: Option<String>,
    pub sample_spec: Spec,
    pub default_sink_name: Option<String>,
    pub default_source_name: Option<String>,
    pub cookie: u32,
    pub channel_map: Map,
}

Fields

user_name: Option<String>

User name of the daemon process.

host_name: Option<String>

Host name the daemon is running on.

server_version: Option<String>

Version string of the daemon.

server_name: Option<String>

Server package name (usually “pulseaudio”).

sample_spec: Spec

Default sample specification.

default_sink_name: Option<String>

Name of default sink.

default_source_name: Option<String>

Name of default source.

cookie: u32

A random cookie for identifying this instance of PulseAudio.

channel_map: Map

Default channel map.

Trait Implementations

impl<'a> From<&'a ServerInfo<'a>> for ServerInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.