pub struct SocketEntry {
pub protocol: String,
pub local_addr: String,
pub local_port: u16,
}Fields§
§protocol: String§local_addr: String§local_port: u16Trait Implementations§
Source§impl Clone for SocketEntry
impl Clone for SocketEntry
Source§fn clone(&self) -> SocketEntry
fn clone(&self) -> SocketEntry
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 SocketEntry
impl Debug for SocketEntry
Source§impl<'de> Deserialize<'de> for SocketEntry
impl<'de> Deserialize<'de> for SocketEntry
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 SocketEntry
impl RefUnwindSafe for SocketEntry
impl Send for SocketEntry
impl Sync for SocketEntry
impl Unpin for SocketEntry
impl UnsafeUnpin for SocketEntry
impl UnwindSafe for SocketEntry
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