pub struct SingleMasterChannelEndpointConfiguration {
pub protocols: Option<Vec<String>>,
pub role: Option<String>,
}
Expand description
An object that contains the endpoint configuration for the SINGLE_MASTER
channel type.
Fields
protocols: Option<Vec<String>>
This property is used to determine the nature of communication over this SINGLE_MASTER
signaling channel. If WSS
is specified, this API returns a websocket endpoint. If HTTPS
is specified, this API returns an HTTPS
endpoint.
role: Option<String>
This property is used to determine messaging permissions in this SINGLE_MASTER
signaling channel. If MASTER
is specified, this API returns an endpoint that a client can use to receive offers from and send answers to any of the viewers on this signaling channel. If VIEWER
is specified, this API returns an endpoint that a client can use only to send offers to another MASTER
client on this signaling channel.
Trait Implementations
sourceimpl Clone for SingleMasterChannelEndpointConfiguration
impl Clone for SingleMasterChannelEndpointConfiguration
sourcefn clone(&self) -> SingleMasterChannelEndpointConfiguration
fn clone(&self) -> SingleMasterChannelEndpointConfiguration
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 more
sourceimpl Default for SingleMasterChannelEndpointConfiguration
impl Default for SingleMasterChannelEndpointConfiguration
sourcefn default() -> SingleMasterChannelEndpointConfiguration
fn default() -> SingleMasterChannelEndpointConfiguration
Returns the “default value” for a type. Read more
sourceimpl PartialEq<SingleMasterChannelEndpointConfiguration> for SingleMasterChannelEndpointConfiguration
impl PartialEq<SingleMasterChannelEndpointConfiguration> for SingleMasterChannelEndpointConfiguration
sourcefn eq(&self, other: &SingleMasterChannelEndpointConfiguration) -> bool
fn eq(&self, other: &SingleMasterChannelEndpointConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SingleMasterChannelEndpointConfiguration) -> bool
fn ne(&self, other: &SingleMasterChannelEndpointConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for SingleMasterChannelEndpointConfiguration
Auto Trait Implementations
impl RefUnwindSafe for SingleMasterChannelEndpointConfiguration
impl Send for SingleMasterChannelEndpointConfiguration
impl Sync for SingleMasterChannelEndpointConfiguration
impl Unpin for SingleMasterChannelEndpointConfiguration
impl UnwindSafe for SingleMasterChannelEndpointConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more