Struct stun_types::message::LongTermCredentials
source · pub struct LongTermCredentials {
pub username: String,
pub password: String,
pub realm: String,
}Expand description
Structure for holding the required credentials for handling long-term STUN credentials
Fields§
§username: String§password: String§realm: StringTrait Implementations§
source§impl Clone for LongTermCredentials
impl Clone for LongTermCredentials
source§fn clone(&self) -> LongTermCredentials
fn clone(&self) -> LongTermCredentials
Returns a copy 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 LongTermCredentials
impl Debug for LongTermCredentials
source§impl From<LongTermCredentials> for MessageIntegrityCredentials
impl From<LongTermCredentials> for MessageIntegrityCredentials
source§fn from(value: LongTermCredentials) -> Self
fn from(value: LongTermCredentials) -> Self
Converts to this type from the input type.
source§impl PartialEq for LongTermCredentials
impl PartialEq for LongTermCredentials
source§fn eq(&self, other: &LongTermCredentials) -> bool
fn eq(&self, other: &LongTermCredentials) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for LongTermCredentials
impl StructuralPartialEq for LongTermCredentials
Auto Trait Implementations§
impl Freeze for LongTermCredentials
impl RefUnwindSafe for LongTermCredentials
impl Send for LongTermCredentials
impl Sync for LongTermCredentials
impl Unpin for LongTermCredentials
impl UnwindSafe for LongTermCredentials
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