pub struct CallQuery {
pub peer_id: PeerId,
pub token: Token,
pub target_id: PeerId,
pub constraints: Option<Constraints>,
pub redirect_params: Option<RedirectParameters>,
}
Expand description
Query parameter for POST /media/connections
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§
Source§impl<'de> Deserialize<'de> for CallQuery
impl<'de> Deserialize<'de> for CallQuery
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
impl StructuralPartialEq for CallQuery
Auto Trait Implementations§
impl Freeze for CallQuery
impl RefUnwindSafe for CallQuery
impl Send for CallQuery
impl Sync for CallQuery
impl Unpin for CallQuery
impl UnwindSafe for CallQuery
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