pub struct SignalPayload {
pub signal_type: String,
pub data: String,
}Expand description
Envelope for media signaling messages (offer, answer, ICE candidate, hangup).
Fields§
§signal_type: String§data: StringImplementations§
Trait Implementations§
Source§impl Clone for SignalPayload
impl Clone for SignalPayload
Source§fn clone(&self) -> SignalPayload
fn clone(&self) -> SignalPayload
Returns a duplicate 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 SignalPayload
impl Debug for SignalPayload
Source§impl<'de> Deserialize<'de> for SignalPayload
impl<'de> Deserialize<'de> for SignalPayload
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
Auto Trait Implementations§
impl Freeze for SignalPayload
impl RefUnwindSafe for SignalPayload
impl Send for SignalPayload
impl Sync for SignalPayload
impl Unpin for SignalPayload
impl UnsafeUnpin for SignalPayload
impl UnwindSafe for SignalPayload
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