[][src]Struct libpulse_binding::context::introspect::SourcePortInfo

pub struct SourcePortInfo<'a> {
    pub name: Option<Cow<'a, str>>,
    pub description: Option<Cow<'a, str>>,
    pub priority: u32,
    pub available: PortAvailable,
}

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: u32

The higher this value is, the more useful this port is as a default.

available: PortAvailable

A flag indicating availability status of this port.

Trait Implementations

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

Auto Trait Implementations

impl<'a> Sync for SourcePortInfo<'a>

impl<'a> Send for SourcePortInfo<'a>

impl<'a> Unpin for SourcePortInfo<'a>

impl<'a> RefUnwindSafe for SourcePortInfo<'a>

impl<'a> UnwindSafe for SourcePortInfo<'a>

Blanket Implementations

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.

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

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

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