pub struct AddressCheckHosts {
pub allowed: Vec<String>,
pub denied: Vec<String>,
}Expand description
[address_check_hosts]: the hosts the user answered for “Check this
address” (#47). A host in neither list was never asked about; the
check contacts only allowed hosts.
Fields§
§allowed: Vec<String>§denied: Vec<String>Trait Implementations§
Source§impl Clone for AddressCheckHosts
impl Clone for AddressCheckHosts
Source§impl Debug for AddressCheckHosts
impl Debug for AddressCheckHosts
Source§impl Default for AddressCheckHosts
impl Default for AddressCheckHosts
Source§impl<'de> Deserialize<'de> for AddressCheckHosts
impl<'de> Deserialize<'de> for AddressCheckHosts
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
impl Eq for AddressCheckHosts
Source§impl PartialEq for AddressCheckHosts
impl PartialEq for AddressCheckHosts
Source§impl Serialize for AddressCheckHosts
impl Serialize for AddressCheckHosts
impl StructuralPartialEq for AddressCheckHosts
Auto Trait Implementations§
impl Forget for AddressCheckHosts
impl Freeze for AddressCheckHosts
impl Move for AddressCheckHosts
impl RefUnwindSafe for AddressCheckHosts
impl Send for AddressCheckHostswhere
RawVecInner: Send,
impl Sync for AddressCheckHostswhere
RawVecInner: Sync,
impl Unpin for AddressCheckHosts
impl UnsafeUnpin for AddressCheckHosts
impl UnwindSafe for AddressCheckHostswhere
RawVecInner: UnwindSafe,
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.