pub struct UdpService {
pub port: u16,
pub service_name: String,
}
Fields§
§port: u16
§service_name: String
Implementations§
Trait Implementations§
Source§impl Clone for UdpService
impl Clone for UdpService
Source§fn clone(&self) -> UdpService
fn clone(&self) -> UdpService
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UdpService
impl Debug for UdpService
Source§impl<'de> Deserialize<'de> for UdpService
impl<'de> Deserialize<'de> for UdpService
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 UdpService
impl RefUnwindSafe for UdpService
impl Send for UdpService
impl Sync for UdpService
impl Unpin for UdpService
impl UnwindSafe for UdpService
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