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

#[repr(C)]
pub struct SinkPortInfo<'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 sink.

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 SinkPortInfo<'a>[src]

Auto Trait Implementations

impl<'a> Send for SinkPortInfo<'a>

impl<'a> Sync for SinkPortInfo<'a>

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<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> Any for T where
    T: 'static + ?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.