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