pub struct DomainPolicy {
pub hostname_pattern: String,
pub backoff: Option<BackoffConfig>,
}Expand description
Per-domain backoff policy override.
hostname_pattern is an exact hostname match for AAA-1/2; wildcard
support is deferred to AAA-3.
Fields§
§hostname_pattern: String§backoff: Option<BackoffConfig>Trait Implementations§
Source§impl Clone for DomainPolicy
impl Clone for DomainPolicy
Source§fn clone(&self) -> DomainPolicy
fn clone(&self) -> DomainPolicy
Returns a duplicate 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 DomainPolicy
impl Debug for DomainPolicy
Source§impl<'de> Deserialize<'de> for DomainPolicy
impl<'de> Deserialize<'de> for DomainPolicy
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
Auto Trait Implementations§
impl Freeze for DomainPolicy
impl RefUnwindSafe for DomainPolicy
impl Send for DomainPolicy
impl Sync for DomainPolicy
impl Unpin for DomainPolicy
impl UnsafeUnpin for DomainPolicy
impl UnwindSafe for DomainPolicy
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