pub struct AcmeOrderUrl(/* private fields */);Expand description
ACME order URL (distinct newtype so it cannot be mixed with generic HTTPS URLs).
Implementations§
Source§impl AcmeOrderUrl
impl AcmeOrderUrl
Sourcepub fn try_new(raw: impl AsRef<str>) -> Result<Self, DomainError>
pub fn try_new(raw: impl AsRef<str>) -> Result<Self, DomainError>
Parses an ACME order URL (HTTPS).
Sourcepub fn from_https(url: HttpsUrl) -> Self
pub fn from_https(url: HttpsUrl) -> Self
From an already-validated HTTPS URL.
Sourcepub fn to_string_owned(&self) -> String
pub fn to_string_owned(&self) -> String
Owned string for APIs that take String.
Trait Implementations§
Source§impl Clone for AcmeOrderUrl
impl Clone for AcmeOrderUrl
Source§fn clone(&self) -> AcmeOrderUrl
fn clone(&self) -> AcmeOrderUrl
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 AcmeOrderUrl
impl Debug for AcmeOrderUrl
Source§impl<'de> Deserialize<'de> for AcmeOrderUrl
impl<'de> Deserialize<'de> for AcmeOrderUrl
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AcmeOrderUrl
impl Display for AcmeOrderUrl
impl Eq for AcmeOrderUrl
Source§impl Hash for AcmeOrderUrl
impl Hash for AcmeOrderUrl
Source§impl PartialEq for AcmeOrderUrl
impl PartialEq for AcmeOrderUrl
Source§impl Serialize for AcmeOrderUrl
impl Serialize for AcmeOrderUrl
impl StructuralPartialEq for AcmeOrderUrl
Auto Trait Implementations§
impl Freeze for AcmeOrderUrl
impl RefUnwindSafe for AcmeOrderUrl
impl Send for AcmeOrderUrl
impl Sync for AcmeOrderUrl
impl Unpin for AcmeOrderUrl
impl UnsafeUnpin for AcmeOrderUrl
impl UnwindSafe for AcmeOrderUrl
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> ValidateIp for Twhere
T: ToString,
impl<T> ValidateIp for Twhere
T: ToString,
Source§fn validate_ipv4(&self) -> bool
fn validate_ipv4(&self) -> bool
Validates whether the given string is an IP V4
Source§fn validate_ipv6(&self) -> bool
fn validate_ipv6(&self) -> bool
Validates whether the given string is an IP V6
Source§fn validate_ip(&self) -> bool
fn validate_ip(&self) -> bool
Validates whether the given string is an IP