pub struct SignalingPayload {
pub pubkey: PublicKey,
pub token: Vec<u8>,
}Expand description
SDP offer or answer signed by the sender’s crate::Identity.
The wire form is a base64 string carrying the sender’s public key plus
a biscuit token whose verified sdp fact contains the actual SDP. This
is what Peer::start / receive_offer / receive_answer produce and
consume.
Fields§
§pubkey: PublicKey§token: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for SignalingPayload
impl Clone for SignalingPayload
Source§fn clone(&self) -> SignalingPayload
fn clone(&self) -> SignalingPayload
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 SignalingPayload
impl Debug for SignalingPayload
Source§impl<'de> Deserialize<'de> for SignalingPayload
impl<'de> Deserialize<'de> for SignalingPayload
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
Source§impl PartialEq for SignalingPayload
impl PartialEq for SignalingPayload
Source§impl Serialize for SignalingPayload
impl Serialize for SignalingPayload
impl Eq for SignalingPayload
impl StructuralPartialEq for SignalingPayload
Auto Trait Implementations§
impl Freeze for SignalingPayload
impl RefUnwindSafe for SignalingPayload
impl Send for SignalingPayload
impl Sync for SignalingPayload
impl Unpin for SignalingPayload
impl UnsafeUnpin for SignalingPayload
impl UnwindSafe for SignalingPayload
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