pub struct TcpLoginTarget<'a> {
pub is_new_login: bool,
pub redirect_ttl: u32,
pub host_ip: &'a str,
pub host_port: u32,
}Expand description
TCP login target fields written into ReqEncryptData fields 2/6/7/9.
Fields§
§is_new_login: bool§redirect_ttl: u32§host_ip: &'a str§host_port: u32Implementations§
Trait Implementations§
Source§impl<'a> Clone for TcpLoginTarget<'a>
impl<'a> Clone for TcpLoginTarget<'a>
Source§fn clone(&self) -> TcpLoginTarget<'a>
fn clone(&self) -> TcpLoginTarget<'a>
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<'a> Debug for TcpLoginTarget<'a>
impl<'a> Debug for TcpLoginTarget<'a>
impl<'a> Copy for TcpLoginTarget<'a>
Auto Trait Implementations§
impl<'a> Freeze for TcpLoginTarget<'a>
impl<'a> RefUnwindSafe for TcpLoginTarget<'a>
impl<'a> Send for TcpLoginTarget<'a>
impl<'a> Sync for TcpLoginTarget<'a>
impl<'a> Unpin for TcpLoginTarget<'a>
impl<'a> UnsafeUnpin for TcpLoginTarget<'a>
impl<'a> UnwindSafe for TcpLoginTarget<'a>
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