pub struct GetNetworkInfoResultAddress {
pub address: String,
pub port: usize,
pub score: usize,
}
Fields§
§address: String
§port: usize
§score: usize
Trait Implementations§
source§impl Clone for GetNetworkInfoResultAddress
impl Clone for GetNetworkInfoResultAddress
source§fn clone(&self) -> GetNetworkInfoResultAddress
fn clone(&self) -> GetNetworkInfoResultAddress
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 GetNetworkInfoResultAddress
impl Debug for GetNetworkInfoResultAddress
source§impl<'de> Deserialize<'de> for GetNetworkInfoResultAddress
impl<'de> Deserialize<'de> for GetNetworkInfoResultAddress
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
source§impl PartialEq for GetNetworkInfoResultAddress
impl PartialEq for GetNetworkInfoResultAddress
source§fn eq(&self, other: &GetNetworkInfoResultAddress) -> bool
fn eq(&self, other: &GetNetworkInfoResultAddress) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GetNetworkInfoResultAddress
impl StructuralPartialEq for GetNetworkInfoResultAddress
Auto Trait Implementations§
impl Freeze for GetNetworkInfoResultAddress
impl RefUnwindSafe for GetNetworkInfoResultAddress
impl Send for GetNetworkInfoResultAddress
impl Sync for GetNetworkInfoResultAddress
impl Unpin for GetNetworkInfoResultAddress
impl UnwindSafe for GetNetworkInfoResultAddress
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