Struct skyway_webrtc_gateway_api::peer::PeerOpenEvent
source · pub struct PeerOpenEvent {
pub params: PeerInfo,
}
Expand description
Fields
params: PeerInfo
Pair of PeerId and Token. PeerId has been allocated in the server.
Trait Implementations
sourceimpl Clone for PeerOpenEvent
impl Clone for PeerOpenEvent
sourcefn clone(&self) -> PeerOpenEvent
fn clone(&self) -> PeerOpenEvent
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 PeerOpenEvent
impl Debug for PeerOpenEvent
sourceimpl<'de> Deserialize<'de> for PeerOpenEvent
impl<'de> Deserialize<'de> for PeerOpenEvent
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 PartialEq<PeerOpenEvent> for PeerOpenEvent
impl PartialEq<PeerOpenEvent> for PeerOpenEvent
sourcefn eq(&self, other: &PeerOpenEvent) -> bool
fn eq(&self, other: &PeerOpenEvent) -> bool
sourceimpl PartialOrd<PeerOpenEvent> for PeerOpenEvent
impl PartialOrd<PeerOpenEvent> for PeerOpenEvent
sourcefn partial_cmp(&self, other: &PeerOpenEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &PeerOpenEvent) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl Serialize for PeerOpenEvent
impl Serialize for PeerOpenEvent
impl StructuralPartialEq for PeerOpenEvent
Auto Trait Implementations
impl RefUnwindSafe for PeerOpenEvent
impl Send for PeerOpenEvent
impl Sync for PeerOpenEvent
impl Unpin for PeerOpenEvent
impl UnwindSafe for PeerOpenEvent
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