pub struct UserSecurityKey {
pub token: UserToken,
pub security_mode: MessageSecurityMode,
pub application_uri: String,
}Expand description
Key used to identify a user. Goes beyond just the identity token, since some services require information about the application URI and security mode as well.
Fields§
§token: UserTokenRaw user token.
security_mode: MessageSecurityModeConnection security mode.
application_uri: StringClient application URI.
Trait Implementations§
Source§impl Clone for UserSecurityKey
impl Clone for UserSecurityKey
Source§fn clone(&self) -> UserSecurityKey
fn clone(&self) -> UserSecurityKey
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 moreAuto Trait Implementations§
impl Freeze for UserSecurityKey
impl RefUnwindSafe for UserSecurityKey
impl Send for UserSecurityKey
impl Sync for UserSecurityKey
impl Unpin for UserSecurityKey
impl UnsafeUnpin for UserSecurityKey
impl UnwindSafe for UserSecurityKey
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