pub struct SessionOfferPayload {
pub session_id: String,
pub session_type: SessionType,
pub media: Vec<SessionMediaKind>,
pub description: SessionDescription,
pub to: Vec<AgentId>,
pub topology: Option<SessionTopology>,
pub transfers: Vec<SessionDataTransfer>,
pub expires_at: Option<i64>,
pub references: Vec<String>,
pub extra: BTreeMap<String, Value>,
}Fields§
§session_id: String§session_type: SessionType§media: Vec<SessionMediaKind>§description: SessionDescription§to: Vec<AgentId>§topology: Option<SessionTopology>§transfers: Vec<SessionDataTransfer>§expires_at: Option<i64>§references: Vec<String>§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for SessionOfferPayload
impl Clone for SessionOfferPayload
Source§fn clone(&self) -> SessionOfferPayload
fn clone(&self) -> SessionOfferPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SessionOfferPayload
impl Debug for SessionOfferPayload
Source§impl<'de> Deserialize<'de> for SessionOfferPayload
impl<'de> Deserialize<'de> for SessionOfferPayload
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 SessionOfferPayload
impl PartialEq for SessionOfferPayload
Source§fn eq(&self, other: &SessionOfferPayload) -> bool
fn eq(&self, other: &SessionOfferPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionOfferPayload
impl Serialize for SessionOfferPayload
impl StructuralPartialEq for SessionOfferPayload
Auto Trait Implementations§
impl Freeze for SessionOfferPayload
impl RefUnwindSafe for SessionOfferPayload
impl Send for SessionOfferPayload
impl Sync for SessionOfferPayload
impl Unpin for SessionOfferPayload
impl UnsafeUnpin for SessionOfferPayload
impl UnwindSafe for SessionOfferPayload
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