pub struct DataChannelParameters {
pub label: String,
pub protocol: String,
pub ordered: bool,
pub max_packet_life_time: u16,
pub max_retransmits: u16,
pub negotiated: Option<u16>,
}
Expand description
DataChannelParameters describes the configuration of the DataChannel.
Fields§
§label: String
§protocol: String
§ordered: bool
§max_packet_life_time: u16
§max_retransmits: u16
§negotiated: Option<u16>
Trait Implementations§
source§impl Clone for DataChannelParameters
impl Clone for DataChannelParameters
source§fn clone(&self) -> DataChannelParameters
fn clone(&self) -> DataChannelParameters
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 DataChannelParameters
impl Debug for DataChannelParameters
source§impl Default for DataChannelParameters
impl Default for DataChannelParameters
source§fn default() -> DataChannelParameters
fn default() -> DataChannelParameters
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DataChannelParameters
impl<'de> Deserialize<'de> for DataChannelParameters
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