Enum jsonrpc_server_utils::hosts::DomainsValidation
[−]
[src]
pub enum DomainsValidation<T> {
AllowOnly(Vec<T>),
Disabled,
}Specifies if domains should be validated.
Variants
AllowOnly(Vec<T>)Allow only domains on the list.
DisabledDisable domains validation completely.
Trait Implementations
impl<T: Clone> Clone for DomainsValidation<T>[src]
fn clone(&self) -> DomainsValidation<T>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<T: Debug> Debug for DomainsValidation<T>[src]
impl<T: PartialEq> PartialEq for DomainsValidation<T>[src]
fn eq(&self, __arg_0: &DomainsValidation<T>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &DomainsValidation<T>) -> bool[src]
This method tests for !=.