Struct muzzman_lib::location::ServerLocation
source · pub struct ServerLocation {
pub ip: IpAddr,
pub port: u16,
pub indentification: String,
pub server_cert: Option<String>,
pub conn: Option<Arc<Mutex<TcpStream>>>,
}Fields§
§ip: IpAddr§port: u16§indentification: String§server_cert: Option<String>§conn: Option<Arc<Mutex<TcpStream>>>Trait Implementations§
source§impl Clone for ServerLocation
impl Clone for ServerLocation
source§fn clone(&self) -> ServerLocation
fn clone(&self) -> ServerLocation
Returns a copy 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 ServerLocation
impl Debug for ServerLocation
source§impl<'de> Deserialize<'de> for ServerLocation
impl<'de> Deserialize<'de> for ServerLocation
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