pub struct SfuUpdateSubscription {
pub sid: DataTrackSid,
pub subscribe: bool,
}Expand description
Request sent to the SFU to update the subscription for a data track.
Protocol equivalent: livekit_protocol::UpdateDataSubscription.
Fields§
§sid: DataTrackSidIdentifier of the affected track.
subscribe: boolWhether to subscribe or unsubscribe.
Trait Implementations§
Source§impl Debug for SfuUpdateSubscription
impl Debug for SfuUpdateSubscription
Source§impl From<SfuUpdateSubscription> for OutputEvent
Convert into SfuUpdateSubscription variant.
impl From<SfuUpdateSubscription> for OutputEvent
Convert into SfuUpdateSubscription variant.
Source§fn from(v: SfuUpdateSubscription) -> Self
fn from(v: SfuUpdateSubscription) -> Self
Converts to this type from the input type.
Source§impl From<SfuUpdateSubscription> for UpdateDataSubscription
impl From<SfuUpdateSubscription> for UpdateDataSubscription
Source§fn from(event: SfuUpdateSubscription) -> Self
fn from(event: SfuUpdateSubscription) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SfuUpdateSubscription
impl RefUnwindSafe for SfuUpdateSubscription
impl Send for SfuUpdateSubscription
impl Sync for SfuUpdateSubscription
impl Unpin for SfuUpdateSubscription
impl UnsafeUnpin for SfuUpdateSubscription
impl UnwindSafe for SfuUpdateSubscription
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