pub struct PingTarget {
pub ip: IpAddr,
pub port: u16,
}
Fields§
§ip: IpAddr
§port: u16
Trait Implementations§
Source§impl Clone for PingTarget
impl Clone for PingTarget
Source§fn clone(&self) -> PingTarget
fn clone(&self) -> PingTarget
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 Debug for PingTarget
impl Debug for PingTarget
Source§impl<'de> Deserialize<'de> for PingTarget
impl<'de> Deserialize<'de> for PingTarget
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
Auto Trait Implementations§
impl Freeze for PingTarget
impl RefUnwindSafe for PingTarget
impl Send for PingTarget
impl Sync for PingTarget
impl Unpin for PingTarget
impl UnwindSafe for PingTarget
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