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
sourceimpl Clone for DataChannelParameters
impl Clone for DataChannelParameters
sourcefn clone(&self) -> DataChannelParameters
fn clone(&self) -> DataChannelParameters
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DataChannelParameters
impl Debug for DataChannelParameters
sourceimpl Default for DataChannelParameters
impl Default for DataChannelParameters
sourcefn default() -> DataChannelParameters
fn default() -> DataChannelParameters
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DataChannelParameters
impl<'de> Deserialize<'de> for DataChannelParameters
sourcefn 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
sourceimpl Serialize for DataChannelParameters
impl Serialize for DataChannelParameters
Auto Trait Implementations
impl RefUnwindSafe for DataChannelParameters
impl Send for DataChannelParameters
impl Sync for DataChannelParameters
impl Unpin for DataChannelParameters
impl UnwindSafe for DataChannelParameters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more