Struct mediasoup_sys::fbs::transport::ProduceDataRequest
source · pub struct ProduceDataRequest {
pub data_producer_id: String,
pub type_: Type,
pub sctp_stream_parameters: Option<Box<SctpStreamParameters>>,
pub label: Option<String>,
pub protocol: Option<String>,
pub paused: bool,
}
Expand description
The table ProduceDataRequest
in the namespace FBS.Transport
Generated from these locations:
- Table
ProduceDataRequest
in the filefbs/transport.fbs:69
Fields§
§data_producer_id: String
The field data_producer_id
in the table ProduceDataRequest
type_: Type
The field type
in the table ProduceDataRequest
sctp_stream_parameters: Option<Box<SctpStreamParameters>>
The field sctp_stream_parameters
in the table ProduceDataRequest
label: Option<String>
The field label
in the table ProduceDataRequest
protocol: Option<String>
The field protocol
in the table ProduceDataRequest
paused: bool
The field paused
in the table ProduceDataRequest
Implementations§
source§impl ProduceDataRequest
impl ProduceDataRequest
sourcepub fn builder() -> ProduceDataRequestBuilder<()>
pub fn builder() -> ProduceDataRequestBuilder<()>
Creates a ProduceDataRequestBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_data_producer_id: impl WriteAs<Offset<str>>, field_type_: impl WriteAsDefault<Type, Type>, field_sctp_stream_parameters: impl WriteAsOptional<Offset<SctpStreamParameters>>, field_label: impl WriteAsOptional<Offset<str>>, field_protocol: impl WriteAsOptional<Offset<str>>, field_paused: impl WriteAsDefault<bool, bool> ) -> Offset<Self>
Trait Implementations§
source§impl Clone for ProduceDataRequest
impl Clone for ProduceDataRequest
source§fn clone(&self) -> ProduceDataRequest
fn clone(&self) -> ProduceDataRequest
Returns a copy 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 ProduceDataRequest
impl Debug for ProduceDataRequest
source§impl<'de> Deserialize<'de> for ProduceDataRequest
impl<'de> Deserialize<'de> for ProduceDataRequest
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 Hash for ProduceDataRequest
impl Hash for ProduceDataRequest
source§impl Ord for ProduceDataRequest
impl Ord for ProduceDataRequest
source§fn cmp(&self, other: &ProduceDataRequest) -> Ordering
fn cmp(&self, other: &ProduceDataRequest) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ProduceDataRequest
impl PartialEq for ProduceDataRequest
source§fn eq(&self, other: &ProduceDataRequest) -> bool
fn eq(&self, other: &ProduceDataRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ProduceDataRequest
impl PartialOrd for ProduceDataRequest
source§fn partial_cmp(&self, other: &ProduceDataRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &ProduceDataRequest) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ProduceDataRequest
impl Serialize for ProduceDataRequest
source§impl<'a> TryFrom<ProduceDataRequestRef<'a>> for ProduceDataRequest
impl<'a> TryFrom<ProduceDataRequestRef<'a>> for ProduceDataRequest
impl Eq for ProduceDataRequest
impl StructuralPartialEq for ProduceDataRequest
impl VectorWrite<Offset<ProduceDataRequest>> for ProduceDataRequest
impl WriteAs<Offset<ProduceDataRequest>> for ProduceDataRequest
impl WriteAsOffset<ProduceDataRequest> for ProduceDataRequest
impl<T0: WriteAs<Offset<str>>, T1: WriteAsDefault<Type, Type>, T2: WriteAsOptional<Offset<SctpStreamParameters>>, T3: WriteAsOptional<Offset<str>>, T4: WriteAsOptional<Offset<str>>, T5: WriteAsDefault<bool, bool>> WriteAsOffset<ProduceDataRequest> for ProduceDataRequestBuilder<(T0, T1, T2, T3, T4, T5)>
impl WriteAsOptional<Offset<ProduceDataRequest>> for ProduceDataRequest
Auto Trait Implementations§
impl RefUnwindSafe for ProduceDataRequest
impl Send for ProduceDataRequest
impl Sync for ProduceDataRequest
impl Unpin for ProduceDataRequest
impl UnwindSafe for ProduceDataRequest
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more