[][src]Struct libpulse_binding::context::ext_stream_restore::Info

pub struct Info<'a> {
    pub name: Option<Cow<'a, str>>,
    pub channel_map: Map,
    pub volume: ChannelVolumes,
    pub device: Option<Cow<'a, str>>,
    pub mute: bool,
}

Stores information about one entry in the stream database that is maintained by module-stream-restore.

Fields

name: Option<Cow<'a, str>>

Identifier string of the stream. A string like “sink-input-by-role:” or similar followed by some arbitrary property value.

channel_map: Map

The channel map for the volume field, if applicable.

volume: ChannelVolumes

The volume of the stream when it was seen last, if applicable and saved.

device: Option<Cow<'a, str>>

The sink/source of the stream when it was last seen, if applicable and saved.

mute: bool

The boolean mute state of the stream when it was last seen, if applicable and saved.

Trait Implementations

impl<'a> Debug for Info<'a>[src]

Auto Trait Implementations

impl<'a> Send for Info<'a>

impl<'a> Sync for Info<'a>

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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