pub struct RedirectParameters {
pub video: Option<SocketInfo<PhantomId>>,
pub video_rtcp: Option<SocketInfo<PhantomId>>,
pub audio: Option<SocketInfo<PhantomId>>,
pub audio_rtcp: Option<SocketInfo<PhantomId>>,
}Expand description
Shows to which socket media should be redirected.
Fields
video: Option<SocketInfo<PhantomId>>video is redirected to this socket
video_rtcp: Option<SocketInfo<PhantomId>>video rtcp is redirected to this socket
audio: Option<SocketInfo<PhantomId>>audio is redirected to this socket
audio_rtcp: Option<SocketInfo<PhantomId>>audio rtcp is redirected to this socket
Trait Implementations
sourceimpl Clone for RedirectParameters
impl Clone for RedirectParameters
sourcefn clone(&self) -> RedirectParameters
fn clone(&self) -> RedirectParameters
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RedirectParameters
impl Debug for RedirectParameters
sourceimpl<'de> Deserialize<'de> for RedirectParameters
impl<'de> Deserialize<'de> for RedirectParameters
sourcefn 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
sourceimpl PartialEq<RedirectParameters> for RedirectParameters
impl PartialEq<RedirectParameters> for RedirectParameters
sourcefn eq(&self, other: &RedirectParameters) -> bool
fn eq(&self, other: &RedirectParameters) -> bool
sourceimpl Serialize for RedirectParameters
impl Serialize for RedirectParameters
impl StructuralPartialEq for RedirectParameters
Auto Trait Implementations
impl RefUnwindSafe for RedirectParameters
impl Send for RedirectParameters
impl Sync for RedirectParameters
impl Unpin for RedirectParameters
impl UnwindSafe for RedirectParameters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more