Struct medea_client_api_proto::state::Sender
source · 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 MediaTrack
s with a Send
direction.
Fields§
§id: TrackId
ID of this Sender
.
connection_mode: ConnectionMode
§mid: Option<String>
Mid of this Sender
.
media_type: MediaType
§receivers: Vec<MemberId>
All Member
s which receive media from this Sender
.
muted: bool
Indicator whether this Sender
is muted.
media_direction: MediaDirection
Current 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
source§impl PartialEq<Sender> for Sender
impl PartialEq<Sender> for Sender
impl Eq for Sender
impl StructuralEq for Sender
impl StructuralPartialEq for Sender
Auto Trait Implementations§
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