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

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

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.