pub struct ConsumerDumpBuilder<State>(/* private fields */);
Expand description
Builder for serializing an instance of the ConsumerDump type.
Can be created using the ConsumerDump::builder method.
Implementations§
Source§impl ConsumerDumpBuilder<()>
impl ConsumerDumpBuilder<()>
Sourcepub fn base<T0>(self, value: T0) -> ConsumerDumpBuilder<(T0,)>
pub fn base<T0>(self, value: T0) -> ConsumerDumpBuilder<(T0,)>
Setter for the base
field.
Source§impl<T0> ConsumerDumpBuilder<(T0,)>
impl<T0> ConsumerDumpBuilder<(T0,)>
Sourcepub fn rtp_streams<T1>(self, value: T1) -> ConsumerDumpBuilder<(T0, T1)>
pub fn rtp_streams<T1>(self, value: T1) -> ConsumerDumpBuilder<(T0, T1)>
Setter for the rtp_streams
field.
Source§impl<T0, T1> ConsumerDumpBuilder<(T0, T1)>
impl<T0, T1> ConsumerDumpBuilder<(T0, T1)>
Sourcepub fn preferred_spatial_layer<T2>(
self,
value: T2,
) -> ConsumerDumpBuilder<(T0, T1, T2)>where
T2: WriteAsOptional<i16>,
pub fn preferred_spatial_layer<T2>(
self,
value: T2,
) -> ConsumerDumpBuilder<(T0, T1, T2)>where
T2: WriteAsOptional<i16>,
Setter for the preferred_spatial_layer
field.
Sourcepub fn preferred_spatial_layer_as_null(
self,
) -> ConsumerDumpBuilder<(T0, T1, ())>
pub fn preferred_spatial_layer_as_null( self, ) -> ConsumerDumpBuilder<(T0, T1, ())>
Sets the preferred_spatial_layer
field to null.
Source§impl<T0, T1, T2> ConsumerDumpBuilder<(T0, T1, T2)>
impl<T0, T1, T2> ConsumerDumpBuilder<(T0, T1, T2)>
Sourcepub fn target_spatial_layer<T3>(
self,
value: T3,
) -> ConsumerDumpBuilder<(T0, T1, T2, T3)>where
T3: WriteAsOptional<i16>,
pub fn target_spatial_layer<T3>(
self,
value: T3,
) -> ConsumerDumpBuilder<(T0, T1, T2, T3)>where
T3: WriteAsOptional<i16>,
Setter for the target_spatial_layer
field.
Sourcepub fn target_spatial_layer_as_null(
self,
) -> ConsumerDumpBuilder<(T0, T1, T2, ())>
pub fn target_spatial_layer_as_null( self, ) -> ConsumerDumpBuilder<(T0, T1, T2, ())>
Sets the target_spatial_layer
field to null.
Source§impl<T0, T1, T2, T3> ConsumerDumpBuilder<(T0, T1, T2, T3)>
impl<T0, T1, T2, T3> ConsumerDumpBuilder<(T0, T1, T2, T3)>
Sourcepub fn current_spatial_layer<T4>(
self,
value: T4,
) -> ConsumerDumpBuilder<(T0, T1, T2, T3, T4)>where
T4: WriteAsOptional<i16>,
pub fn current_spatial_layer<T4>(
self,
value: T4,
) -> ConsumerDumpBuilder<(T0, T1, T2, T3, T4)>where
T4: WriteAsOptional<i16>,
Setter for the current_spatial_layer
field.
Sourcepub fn current_spatial_layer_as_null(
self,
) -> ConsumerDumpBuilder<(T0, T1, T2, T3, ())>
pub fn current_spatial_layer_as_null( self, ) -> ConsumerDumpBuilder<(T0, T1, T2, T3, ())>
Sets the current_spatial_layer
field to null.
Source§impl<T0, T1, T2, T3, T4> ConsumerDumpBuilder<(T0, T1, T2, T3, T4)>
impl<T0, T1, T2, T3, T4> ConsumerDumpBuilder<(T0, T1, T2, T3, T4)>
Sourcepub fn preferred_temporal_layer<T5>(
self,
value: T5,
) -> ConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5)>where
T5: WriteAsOptional<i16>,
pub fn preferred_temporal_layer<T5>(
self,
value: T5,
) -> ConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5)>where
T5: WriteAsOptional<i16>,
Setter for the preferred_temporal_layer
field.
Sourcepub fn preferred_temporal_layer_as_null(
self,
) -> ConsumerDumpBuilder<(T0, T1, T2, T3, T4, ())>
pub fn preferred_temporal_layer_as_null( self, ) -> ConsumerDumpBuilder<(T0, T1, T2, T3, T4, ())>
Sets the preferred_temporal_layer
field to null.
Source§impl<T0, T1, T2, T3, T4, T5> ConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5)>
impl<T0, T1, T2, T3, T4, T5> ConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5)>
Sourcepub fn target_temporal_layer<T6>(
self,
value: T6,
) -> ConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6)>where
T6: WriteAsOptional<i16>,
pub fn target_temporal_layer<T6>(
self,
value: T6,
) -> ConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6)>where
T6: WriteAsOptional<i16>,
Setter for the target_temporal_layer
field.
Sourcepub fn target_temporal_layer_as_null(
self,
) -> ConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, ())>
pub fn target_temporal_layer_as_null( self, ) -> ConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, ())>
Sets the target_temporal_layer
field to null.
Source§impl<T0, T1, T2, T3, T4, T5, T6> ConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6)>
impl<T0, T1, T2, T3, T4, T5, T6> ConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6)>
Sourcepub fn current_temporal_layer<T7>(
self,
value: T7,
) -> ConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6, T7)>where
T7: WriteAsOptional<i16>,
pub fn current_temporal_layer<T7>(
self,
value: T7,
) -> ConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6, T7)>where
T7: WriteAsOptional<i16>,
Setter for the current_temporal_layer
field.
Sourcepub fn current_temporal_layer_as_null(
self,
) -> ConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6, ())>
pub fn current_temporal_layer_as_null( self, ) -> ConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6, ())>
Sets the current_temporal_layer
field to null.
Source§impl<T0, T1, T2, T3, T4, T5, T6, T7> ConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6, T7)>
impl<T0, T1, T2, T3, T4, T5, T6, T7> ConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6, T7)>
Sourcepub fn finish(self, builder: &mut Builder) -> Offset<ConsumerDump>where
Self: WriteAsOffset<ConsumerDump>,
pub fn finish(self, builder: &mut Builder) -> Offset<ConsumerDump>where
Self: WriteAsOffset<ConsumerDump>,
Finish writing the builder to get an Offset to a serialized ConsumerDump.