pub struct ServerLoginParameters<'c, 'i> {
pub context: Option<&'c [u8]>,
pub identifiers: Identifiers<'i>,
}Expand description
Optional parameters for server login start and finish
Fields§
§context: Option<&'c [u8]>Specifying a context field that the client must agree on
identifiers: Identifiers<'i>Specifying a user identifier and server identifier that will be matched against the client
Trait Implementations§
Source§impl<'c, 'i> Clone for ServerLoginParameters<'c, 'i>
impl<'c, 'i> Clone for ServerLoginParameters<'c, 'i>
Source§fn clone(&self) -> ServerLoginParameters<'c, 'i>
fn clone(&self) -> ServerLoginParameters<'c, 'i>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'c, 'i> Debug for ServerLoginParameters<'c, 'i>
impl<'c, 'i> Debug for ServerLoginParameters<'c, 'i>
Source§impl<'c, 'i> Default for ServerLoginParameters<'c, 'i>
impl<'c, 'i> Default for ServerLoginParameters<'c, 'i>
Source§fn default() -> ServerLoginParameters<'c, 'i>
fn default() -> ServerLoginParameters<'c, 'i>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'c, 'i> Freeze for ServerLoginParameters<'c, 'i>
impl<'c, 'i> RefUnwindSafe for ServerLoginParameters<'c, 'i>
impl<'c, 'i> Send for ServerLoginParameters<'c, 'i>
impl<'c, 'i> Sync for ServerLoginParameters<'c, 'i>
impl<'c, 'i> Unpin for ServerLoginParameters<'c, 'i>
impl<'c, 'i> UnsafeUnpin for ServerLoginParameters<'c, 'i>
impl<'c, 'i> UnwindSafe for ServerLoginParameters<'c, 'i>
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