Struct medea_client_api_proto::state::Receiver[][src]

pub struct Receiver {
    pub id: TrackId,
    pub mid: Option<String>,
    pub media_type: MediaType,
    pub sender_id: MemberId,
    pub enabled_individual: bool,
    pub enabled_general: bool,
    pub muted: bool,
}

State of MediaTracks with a Recv direction.

Fields

id: TrackId

ID of this Receiver.

mid: Option<String>

Mid of this Receiver.

media_type: MediaTypesender_id: MemberId

Members which send media to this Receiver.

enabled_individual: bool

Indicator whether this Receiver is enabled on a Recv direction side.

enabled_general: bool

Indicator whether this Receiver is enabled on a Send and Recv direction sides.

muted: bool

Indicator whether this Receiver is muted.

Trait Implementations

impl Clone for Receiver[src]

impl Debug for Receiver[src]

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

impl Eq for Receiver[src]

impl PartialEq<Receiver> for Receiver[src]

impl Serialize for Receiver[src]

impl StructuralEq for Receiver[src]

impl StructuralPartialEq for Receiver[src]

Auto Trait Implementations

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.