pub struct UserConnectionCredential {
pub user_connection_credential: UserConnectionCredentialContext,
}Expand description
UserConnectionCredential is an object used to generate main credential when connecting with others
Fields§
§user_connection_credential: UserConnectionCredentialContextImplementations§
Source§impl UserConnectionCredential
impl UserConnectionCredential
pub fn new(context: UserConnectionCredentialContext) -> Self
Trait Implementations§
Source§impl Clone for UserConnectionCredential
impl Clone for UserConnectionCredential
Source§fn clone(&self) -> UserConnectionCredential
fn clone(&self) -> UserConnectionCredential
Returns a duplicate of the value. Read more
1.0.0 · 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 UserConnectionCredential
impl Debug for UserConnectionCredential
Source§impl Default for UserConnectionCredential
impl Default for UserConnectionCredential
Source§fn default() -> UserConnectionCredential
fn default() -> UserConnectionCredential
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserConnectionCredential
impl<'de> Deserialize<'de> for UserConnectionCredential
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 Serialize for UserConnectionCredential
impl Serialize for UserConnectionCredential
Auto Trait Implementations§
impl Freeze for UserConnectionCredential
impl RefUnwindSafe for UserConnectionCredential
impl Send for UserConnectionCredential
impl Sync for UserConnectionCredential
impl Unpin for UserConnectionCredential
impl UnwindSafe for UserConnectionCredential
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