pub struct DomainIdentity { /* private fields */ }Expand description
A canonical name plus its embedded-PSL parsing interpretation.
Implementations§
Source§impl DomainIdentity
impl DomainIdentity
pub fn name(&self) -> &DomainName
pub fn public_suffix(&self) -> Option<&PublicSuffix>
pub fn registrable_domain(&self) -> Option<&RegistrableDomain>
pub const fn boundary_status(&self) -> BoundaryStatus
Trait Implementations§
Source§impl Clone for DomainIdentity
impl Clone for DomainIdentity
Source§fn clone(&self) -> DomainIdentity
fn clone(&self) -> DomainIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DomainIdentity
impl Debug for DomainIdentity
Source§impl<'de> Deserialize<'de> for DomainIdentity
impl<'de> Deserialize<'de> for DomainIdentity
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DomainIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DomainIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DomainIdentity
Source§impl PartialEq for DomainIdentity
impl PartialEq for DomainIdentity
Source§impl Serialize for DomainIdentity
impl Serialize for DomainIdentity
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DomainIdentity
Auto Trait Implementations§
impl Freeze for DomainIdentity
impl RefUnwindSafe for DomainIdentity
impl Send for DomainIdentity
impl Sync for DomainIdentity
impl Unpin for DomainIdentity
impl UnsafeUnpin for DomainIdentity
impl UnwindSafe for DomainIdentity
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