Struct medea_client_api_proto::state::Sender[][src]

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

State of MediaTracks with a Send direction.

Fields

id: TrackId

ID of this Sender.

mid: Option<String>

Mid of this Sender.

media_type: MediaType

MediaType of this Sender.

receivers: Vec<MemberId>

All Members which receive media from this Sender.

enabled_individual: bool

Indicator whether this Sender is enabled on a Send direction side.

enabled_general: bool

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

muted: bool

Indicator whether this Sender is muted.

Trait Implementations

impl Clone for Sender[src]

impl Debug for Sender[src]

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

impl Eq for Sender[src]

impl PartialEq<Sender> for Sender[src]

impl Serialize for Sender[src]

impl StructuralEq for Sender[src]

impl StructuralPartialEq for Sender[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.