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: TrackId
ID 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 duplicate 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 for TrackPatchCommand
impl PartialEq for TrackPatchCommand
Source§impl Serialize for TrackPatchCommand
impl Serialize for TrackPatchCommand
impl Copy for TrackPatchCommand
impl Eq for TrackPatchCommand
impl StructuralPartialEq for TrackPatchCommand
Auto Trait Implementations§
impl Freeze for TrackPatchCommand
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