pub struct LookupData {
pub url: Url,
pub version: Version,
pub association: Option<String>,
pub tunnel_port: Option<u16>,
}Expand description
Data from completing a lookup contains the resolved address from the connection to the server as well as the server version obtained from the server
Fields§
§url: UrlServer url
version: VersionThe server version
association: Option<String>Association token if the server supports providing one
tunnel_port: Option<u16>Tunnel port if the server provides one
Trait Implementations§
Source§impl Clone for LookupData
impl Clone for LookupData
Source§fn clone(&self) -> LookupData
fn clone(&self) -> LookupData
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 moreAuto Trait Implementations§
impl Freeze for LookupData
impl RefUnwindSafe for LookupData
impl Send for LookupData
impl Sync for LookupData
impl Unpin for LookupData
impl UnwindSafe for LookupData
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