pub struct ClientParameters {
pub device_secret: DeviceSecret,
pub kind: ClientKind,
pub role: Role,
}Expand description
Client context required for a signaling connection
Fields§
§device_secret: DeviceSecretIdentifier to maintain participant state across reconnections, is generated by the client
kind: ClientKindInformation about a registered user
role: RoleThe role that the client assumes in the meeting.
Trait Implementations§
Source§impl Clone for ClientParameters
impl Clone for ClientParameters
Source§fn clone(&self) -> ClientParameters
fn clone(&self) -> ClientParameters
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 ClientParameters
impl Debug for ClientParameters
Source§impl<'de> Deserialize<'de> for ClientParameters
impl<'de> Deserialize<'de> for ClientParameters
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 Eq for ClientParameters
Source§impl ExampleData for ClientParameters
impl ExampleData for ClientParameters
Source§fn example_data() -> Self
fn example_data() -> Self
Get an example instance of the current datatype.
Source§impl PartialEq for ClientParameters
impl PartialEq for ClientParameters
Source§impl Serialize for ClientParameters
impl Serialize for ClientParameters
impl StructuralPartialEq for ClientParameters
Auto Trait Implementations§
impl Freeze for ClientParameters
impl RefUnwindSafe for ClientParameters
impl Send for ClientParameters
impl Sync for ClientParameters
impl Unpin for ClientParameters
impl UnsafeUnpin for ClientParameters
impl UnwindSafe for ClientParameters
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more