Struct medea_client_api_proto::TrackPatchEvent [−][src]
Patch of the Track which Media Server can send with
Event::TracksApplied.
Fields
id: TrackIdID of the Track which should be patched.
enabled_individual: Option<bool>Media exchange state of the concrete Member.
This state doesn't indicates that connection between two Members are
really disabled. This is intention of this Member.
enabled_general: Option<bool>Media exchange state of the connection between Members.
This state indicates real media exchange state between Members. But
this state doesn't changes intention of this Member.
So intention of this Member (enabled_individual) can be
false, but real media exchange state can be true.
muted: Option<bool>Track mute state. Muting and unmuting can be performed without adding
/ removing tracks from transceivers, hence renegotiation is not
required.
Implementations
impl TrackPatchEvent[src]
#[must_use]pub fn new(id: TrackId) -> Self[src]
Returns new empty TrackPatchEvent with a provided TrackId.
pub fn merge(&mut self, another: &Self)[src]
Merges this TrackPatchEvent with a provided TrackPatchEvent.
Does nothing if TrackId of this TrackPatchEvent and the
provided TrackPatchEvent are different.
Trait Implementations
impl Clone for TrackPatchEvent[src]
fn clone(&self) -> TrackPatchEvent[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for TrackPatchEvent[src]
impl<'de> Deserialize<'de> for TrackPatchEvent[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Eq for TrackPatchEvent[src]
impl From<TrackPatchCommand> for TrackPatchEvent[src]
fn from(from: TrackPatchCommand) -> Self[src]
impl PartialEq<TrackPatchEvent> for TrackPatchEvent[src]
fn eq(&self, other: &TrackPatchEvent) -> bool[src]
fn ne(&self, other: &TrackPatchEvent) -> bool[src]
impl Serialize for TrackPatchEvent[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl StructuralEq for TrackPatchEvent[src]
impl StructuralPartialEq for TrackPatchEvent[src]
Auto Trait Implementations
impl RefUnwindSafe for TrackPatchEvent[src]
impl Send for TrackPatchEvent[src]
impl Sync for TrackPatchEvent[src]
impl Unpin for TrackPatchEvent[src]
impl UnwindSafe for TrackPatchEvent[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,