pub struct Sender {
pub id: TrackId,
pub connection_mode: ConnectionMode,
pub mid: Option<String>,
pub media_type: MediaType,
pub receivers: Vec<MemberId>,
pub muted: bool,
pub media_direction: MediaDirection,
}Expand description
State of MediaTracks with a Send direction.
Fields§
§id: TrackIdID of this Sender.
connection_mode: ConnectionMode§mid: Option<String>Mid of this Sender.
media_type: MediaType§receivers: Vec<MemberId>All Members which receive media from this Sender.
muted: boolIndicator whether this Sender is muted.
media_direction: MediaDirectionCurrent general media exchange state of this Sender.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sender
impl<'de> Deserialize<'de> for Sender
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Sender
impl StructuralPartialEq for Sender
Auto Trait Implementations§
impl Freeze for Sender
impl RefUnwindSafe for Sender
impl Send for Sender
impl Sync for Sender
impl Unpin for Sender
impl UnwindSafe for Sender
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more