Struct stun_types::attribute::AlternateDomain
source · pub struct AlternateDomain { /* private fields */ }Expand description
The AlternateDomain Attribute
Implementations§
Trait Implementations§
source§impl Attribute for AlternateDomain
impl Attribute for AlternateDomain
source§impl Clone for AlternateDomain
impl Clone for AlternateDomain
source§fn clone(&self) -> AlternateDomain
fn clone(&self) -> AlternateDomain
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 AlternateDomain
impl Debug for AlternateDomain
source§impl Display for AlternateDomain
impl Display for AlternateDomain
source§impl From<AlternateDomain> for RawAttribute
impl From<AlternateDomain> for RawAttribute
source§fn from(value: AlternateDomain) -> RawAttribute
fn from(value: AlternateDomain) -> RawAttribute
Converts to this type from the input type.
source§impl PartialEq for AlternateDomain
impl PartialEq for AlternateDomain
source§fn eq(&self, other: &AlternateDomain) -> bool
fn eq(&self, other: &AlternateDomain) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<&RawAttribute> for AlternateDomain
impl TryFrom<&RawAttribute> for AlternateDomain
§type Error = StunParseError
type Error = StunParseError
The type returned in the event of a conversion error.
impl Eq for AlternateDomain
impl StructuralPartialEq for AlternateDomain
Auto Trait Implementations§
impl Freeze for AlternateDomain
impl RefUnwindSafe for AlternateDomain
impl Send for AlternateDomain
impl Sync for AlternateDomain
impl Unpin for AlternateDomain
impl UnwindSafe for AlternateDomain
Blanket Implementations§
source§impl<E, T> AttributeFromRaw<E> for T
impl<E, T> AttributeFromRaw<E> for T
source§fn from_raw(raw: &RawAttribute) -> Result<T, E>
fn from_raw(raw: &RawAttribute) -> Result<T, E>
Convert an
Attribute from a RawAttributesource§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