Struct libpulse_binding::context::introspect::SourcePortInfo
source · pub struct SourcePortInfo<'a> {
pub name: Option<Cow<'a, str>>,
pub description: Option<Cow<'a, str>>,
pub priority: u32,
pub available: PortAvailable,
}Expand description
Stores information about a specific port of a source.
Please note that this structure can be extended as part of evolutionary API updates at any time in any new release.
Fields
name: Option<Cow<'a, str>>Name of this port.
description: Option<Cow<'a, str>>Description of this port.
priority: u32The higher this value is, the more useful this port is as a default.
available: PortAvailableA flag indicating availability status of this port.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for SourcePortInfo<'a>
impl<'a> Send for SourcePortInfo<'a>
impl<'a> Sync for SourcePortInfo<'a>
impl<'a> Unpin for SourcePortInfo<'a>
impl<'a> UnwindSafe for SourcePortInfo<'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