pub struct VideoSettings {
pub required: bool,
pub source_kind: MediaSourceKind,
pub encoding_parameters: Vec<EncodingParameters>,
}
Expand description
Settings of a video Track
.
Fields§
§required: bool
Importance of the video.
If false
then video may be not published.
source_kind: MediaSourceKind
Source kind of these VideoSettings
.
encoding_parameters: Vec<EncodingParameters>
EncodingParameters
of these VideoSettings
.
Trait Implementations§
Source§impl Clone for VideoSettings
impl Clone for VideoSettings
Source§fn clone(&self) -> VideoSettings
fn clone(&self) -> VideoSettings
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 VideoSettings
impl Debug for VideoSettings
Source§impl<'de> Deserialize<'de> for VideoSettings
impl<'de> Deserialize<'de> for VideoSettings
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 PartialEq for VideoSettings
impl PartialEq for VideoSettings
Source§impl Serialize for VideoSettings
impl Serialize for VideoSettings
impl Eq for VideoSettings
impl StructuralPartialEq for VideoSettings
Auto Trait Implementations§
impl Freeze for VideoSettings
impl RefUnwindSafe for VideoSettings
impl Send for VideoSettings
impl Sync for VideoSettings
impl Unpin for VideoSettings
impl UnwindSafe for VideoSettings
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