Struct servo_media_webrtc::datachannel::DataChannelInit
source · pub struct DataChannelInit {
pub label: String,
pub ordered: bool,
pub max_packet_life_time: Option<u16>,
pub max_retransmits: Option<u16>,
pub protocol: String,
pub negotiated: bool,
pub id: Option<u16>,
}
Fields§
§label: String
§ordered: bool
§max_packet_life_time: Option<u16>
§max_retransmits: Option<u16>
§protocol: String
§negotiated: bool
§id: Option<u16>
Trait Implementations§
source§impl Default for DataChannelInit
impl Default for DataChannelInit
source§fn default() -> DataChannelInit
fn default() -> DataChannelInit
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DataChannelInit
impl RefUnwindSafe for DataChannelInit
impl Send for DataChannelInit
impl Sync for DataChannelInit
impl Unpin for DataChannelInit
impl UnwindSafe for DataChannelInit
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