Struct webrtc_mdns::message::resource::srv::SrvResource
source · pub struct SrvResource {
pub priority: u16,
pub weight: u16,
pub port: u16,
pub target: Name,
}
Fields§
§priority: u16
§weight: u16
§port: u16
§target: Name
Trait Implementations§
source§impl Clone for SrvResource
impl Clone for SrvResource
source§fn clone(&self) -> SrvResource
fn clone(&self) -> SrvResource
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 SrvResource
impl Debug for SrvResource
source§impl Default for SrvResource
impl Default for SrvResource
source§fn default() -> SrvResource
fn default() -> SrvResource
Returns the “default value” for a type. Read more
source§impl Display for SrvResource
impl Display for SrvResource
source§impl PartialEq for SrvResource
impl PartialEq for SrvResource
source§fn eq(&self, other: &SrvResource) -> bool
fn eq(&self, other: &SrvResource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ResourceBody for SrvResource
impl ResourceBody for SrvResource
impl Eq for SrvResource
impl StructuralPartialEq for SrvResource
Auto Trait Implementations§
impl RefUnwindSafe for SrvResource
impl Send for SrvResource
impl Sync for SrvResource
impl Unpin for SrvResource
impl UnwindSafe for SrvResource
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