Enum taxy_api::subject_name::SubjectName
source · pub enum SubjectName {
DnsName(String),
WildcardDnsName(String),
IPAddress(IpAddr),
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for SubjectName
impl Clone for SubjectName
source§fn clone(&self) -> SubjectName
fn clone(&self) -> SubjectName
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 SubjectName
impl Debug for SubjectName
source§impl<'de> Deserialize<'de> for SubjectName
impl<'de> Deserialize<'de> for SubjectName
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for SubjectName
impl FromStr for SubjectName
source§impl PartialEq<SubjectName> for SubjectName
impl PartialEq<SubjectName> for SubjectName
source§fn eq(&self, other: &SubjectName) -> bool
fn eq(&self, other: &SubjectName) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SubjectName
impl Serialize for SubjectName
source§impl ToString for SubjectName
impl ToString for SubjectName
impl Eq for SubjectName
impl StructuralEq for SubjectName
impl StructuralPartialEq for SubjectName
Auto Trait Implementations§
impl RefUnwindSafe for SubjectName
impl Send for SubjectName
impl Sync for SubjectName
impl Unpin for SubjectName
impl UnwindSafe for SubjectName
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.