pub struct TrackPatchCommand {
pub id: TrackId,
pub enabled: Option<bool>,
pub muted: Option<bool>,
}Expand description
Patch of a Track which Web Client can request with a
Command::UpdateTracks.
Fields§
§id: TrackIdID of the Track this patch is intended for.
enabled: Option<bool>Track’s media exchange state.
muted: Option<bool>Track’s mute state.
Muting and unmuting can be performed without adding/removing tracks from transceivers, hence renegotiation is not required.
Trait Implementations§
source§impl Clone for TrackPatchCommand
impl Clone for TrackPatchCommand
source§fn clone(&self) -> TrackPatchCommand
fn clone(&self) -> TrackPatchCommand
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TrackPatchCommand
impl Debug for TrackPatchCommand
source§impl<'de> Deserialize<'de> for TrackPatchCommand
impl<'de> Deserialize<'de> for TrackPatchCommand
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 From<TrackPatchCommand> for TrackPatchEvent
impl From<TrackPatchCommand> for TrackPatchEvent
source§fn from(from: TrackPatchCommand) -> Self
fn from(from: TrackPatchCommand) -> Self
Converts to this type from the input type.
source§impl PartialEq<TrackPatchCommand> for TrackPatchCommand
impl PartialEq<TrackPatchCommand> for TrackPatchCommand
source§fn eq(&self, other: &TrackPatchCommand) -> bool
fn eq(&self, other: &TrackPatchCommand) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for TrackPatchCommand
impl Serialize for TrackPatchCommand
impl Copy for TrackPatchCommand
impl Eq for TrackPatchCommand
impl StructuralEq for TrackPatchCommand
impl StructuralPartialEq for TrackPatchCommand
Auto Trait Implementations§
impl RefUnwindSafe for TrackPatchCommand
impl Send for TrackPatchCommand
impl Sync for TrackPatchCommand
impl Unpin for TrackPatchCommand
impl UnwindSafe for TrackPatchCommand
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