Struct libpulse_binding::context::ext_stream_restore::Info
source · 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,
}Expand description
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: MapThe channel map for the volume field, if applicable.
volume: ChannelVolumesThe 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: boolThe boolean mute state of the stream when it was last seen, if applicable and saved.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Info<'a>
impl<'a> Send for Info<'a>
impl<'a> Sync for Info<'a>
impl<'a> Unpin for Info<'a>
impl<'a> UnwindSafe for Info<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more