Struct medea_client_api_proto::Track[][src]

pub struct Track {
    pub id: TrackId,
    pub direction: Direction,
    pub media_type: MediaType,
}

Track with specified direction.

Fields

id: TrackIddirection: Directionmedia_type: MediaType

Implementations

impl Track[src]

#[must_use]pub fn required(&self) -> bool[src]

Indicates whether this Track is required to call starting.

Trait Implementations

impl Clone for Track[src]

impl Debug for Track[src]

impl<'de> Deserialize<'de> for Track[src]

impl Eq for Track[src]

impl PartialEq<Track> for Track[src]

impl Serialize for Track[src]

impl StructuralEq for Track[src]

impl StructuralPartialEq for Track[src]

Auto Trait Implementations

impl RefUnwindSafe for Track

impl Send for Track

impl Sync for Track

impl Unpin for Track

impl UnwindSafe for Track

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.