#[non_exhaustive]pub enum UrlSafetySource {
GoogleWebRisk,
GoogleSafeBrowsing,
Cache,
}Expand description
Which provider produced a verdict.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
GoogleWebRisk
Google Web Risk.
GoogleSafeBrowsing
Google Safe Browsing.
Cache
A decorator in front of the real provider (a cache rebuilding a verdict, say); it names itself, never the provider behind it.
Implementations§
Trait Implementations§
Source§impl Clone for UrlSafetySource
impl Clone for UrlSafetySource
impl Copy for UrlSafetySource
Source§impl Debug for UrlSafetySource
impl Debug for UrlSafetySource
impl Eq for UrlSafetySource
Source§impl Hash for UrlSafetySource
impl Hash for UrlSafetySource
Source§impl PartialEq for UrlSafetySource
impl PartialEq for UrlSafetySource
impl StructuralPartialEq for UrlSafetySource
Auto Trait Implementations§
impl Freeze for UrlSafetySource
impl RefUnwindSafe for UrlSafetySource
impl Send for UrlSafetySource
impl Sync for UrlSafetySource
impl Unpin for UrlSafetySource
impl UnsafeUnpin for UrlSafetySource
impl UnwindSafe for UrlSafetySource
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.