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