[][src]Struct skyway_webrtc_gateway_api::media::CallQuery

pub struct CallQuery {
    pub peer_id: PeerId,
    pub token: Token,
    pub target_id: PeerId,
    pub constraints: Option<Constraints>,
    pub redirect_params: Option<RedirectParameters>,
}

Query parameter for POST /media/connections

API

Fields

peer_id: PeerId

to identify which PeerObject calls to neighbour

token: Token

to show that this program has permission to control PeerObject

target_id: PeerId

connect to the neighbour which has this PeerId

constraints: Option<Constraints>

Parameters for MediaConnection It contains source socket. If the field is None, this MediaConnection works as RecvOnly.

redirect_params: Option<RedirectParameters>

Shows destiation socket to which received data is redirected If this field is not set, DataConnection works as SendOnly.

Trait Implementations

impl Clone for CallQuery[src]

impl Debug for CallQuery[src]

impl<'de> Deserialize<'de> for CallQuery[src]

impl PartialEq<CallQuery> for CallQuery[src]

impl Serialize for CallQuery[src]

impl StructuralPartialEq for CallQuery[src]

Auto Trait Implementations

impl RefUnwindSafe for CallQuery

impl Send for CallQuery

impl Sync for CallQuery

impl Unpin for CallQuery

impl UnwindSafe for CallQuery

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.