pub struct HostnameClaim {
pub hostname: String,
pub method: ValidationMethod,
}Expand description
A hostname a customer wants served, and how they will prove they own it.
Fields§
§hostname: String§method: ValidationMethodImplementations§
Source§impl HostnameClaim
impl HostnameClaim
Sourcepub fn new(hostname: impl Into<String>) -> Self
pub fn new(hostname: impl Into<String>) -> Self
A claim for hostname, validated over HTTP — the provider’s
default.
Sourcepub fn with_method(self, method: ValidationMethod) -> Self
pub fn with_method(self, method: ValidationMethod) -> Self
The same claim, proved another way.
Trait Implementations§
Source§impl Clone for HostnameClaim
impl Clone for HostnameClaim
Source§impl Debug for HostnameClaim
impl Debug for HostnameClaim
impl Eq for HostnameClaim
Source§impl PartialEq for HostnameClaim
impl PartialEq for HostnameClaim
impl StructuralPartialEq for HostnameClaim
Auto Trait Implementations§
impl Freeze for HostnameClaim
impl RefUnwindSafe for HostnameClaim
impl Send for HostnameClaim
impl Sync for HostnameClaim
impl Unpin for HostnameClaim
impl UnsafeUnpin for HostnameClaim
impl UnwindSafe for HostnameClaim
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,
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.