pub struct NegotiateMessage {
pub flags: Flags,
pub supplied_domain: String,
pub supplied_workstation: String,
pub os_version: OsVersion,
}Expand description
The contents of an NTLM Negotiate message.
The Negotiate message is the first message in an NTLM challenge-response process and is sent by the client to the server; the server is expected to respond with a Challenge message.
Fields§
§flags: FlagsStores which information has been specified and which NTLM behavior should be negotiated.
supplied_domain: StringThe domain against which the client wishes to authenticate.
supplied_workstation: StringThe NT hostname of the client.
os_version: OsVersionVersion information about the client’s operating system.
Implementations§
Trait Implementations§
Source§impl Clone for NegotiateMessage
impl Clone for NegotiateMessage
Source§fn clone(&self) -> NegotiateMessage
fn clone(&self) -> NegotiateMessage
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 NegotiateMessage
impl Debug for NegotiateMessage
Source§impl Hash for NegotiateMessage
impl Hash for NegotiateMessage
Source§impl Ord for NegotiateMessage
impl Ord for NegotiateMessage
Source§fn cmp(&self, other: &NegotiateMessage) -> Ordering
fn cmp(&self, other: &NegotiateMessage) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NegotiateMessage
impl PartialEq for NegotiateMessage
Source§impl PartialOrd for NegotiateMessage
impl PartialOrd for NegotiateMessage
Source§impl TryFrom<&[u8]> for NegotiateMessage
impl TryFrom<&[u8]> for NegotiateMessage
impl Eq for NegotiateMessage
impl StructuralPartialEq for NegotiateMessage
Auto Trait Implementations§
impl Freeze for NegotiateMessage
impl RefUnwindSafe for NegotiateMessage
impl Send for NegotiateMessage
impl Sync for NegotiateMessage
impl Unpin for NegotiateMessage
impl UnwindSafe for NegotiateMessage
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