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