Struct socks5_impl::protocol::handshake::password_method::UserKey
source · pub struct UserKey {
pub username: String,
pub password: String,
}
Expand description
Required for a username + password authentication.
Fields§
§username: String
§password: String
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for UserKey
impl<'de> Deserialize<'de> for UserKey
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 PartialEq for UserKey
impl PartialEq for UserKey
impl Eq for UserKey
impl StructuralPartialEq for UserKey
Auto Trait Implementations§
impl RefUnwindSafe for UserKey
impl Send for UserKey
impl Sync for UserKey
impl Unpin for UserKey
impl UnwindSafe for UserKey
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