pub struct CompositionConfig {
pub layout: Option<LayoutConfig>,
pub orientation: Option<Orientation>,
pub theme: Option<Theme>,
pub quality: Option<CompositionQuality>,
}Expand description
The wire composition configuration, shared by recording, HLS and livestream.
Fields§
§layout: Option<LayoutConfig>The layout configuration.
orientation: Option<Orientation>The composition’s orientation.
theme: Option<Theme>The composition’s theme.
quality: Option<CompositionQuality>The recorder quality tier.
Implementations§
Trait Implementations§
Source§impl Clone for CompositionConfig
impl Clone for CompositionConfig
Source§fn clone(&self) -> CompositionConfig
fn clone(&self) -> CompositionConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompositionConfig
impl Debug for CompositionConfig
Source§impl Default for CompositionConfig
impl Default for CompositionConfig
Source§fn default() -> CompositionConfig
fn default() -> CompositionConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompositionConfig
impl<'de> Deserialize<'de> for CompositionConfig
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
impl Eq for CompositionConfig
Source§impl PartialEq for CompositionConfig
impl PartialEq for CompositionConfig
Source§impl Serialize for CompositionConfig
impl Serialize for CompositionConfig
impl StructuralPartialEq for CompositionConfig
Auto Trait Implementations§
impl Freeze for CompositionConfig
impl RefUnwindSafe for CompositionConfig
impl Send for CompositionConfig
impl Sync for CompositionConfig
impl Unpin for CompositionConfig
impl UnsafeUnpin for CompositionConfig
impl UnwindSafe for CompositionConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.