pub struct TorDetection {
pub ip: String,
pub is_tor: bool,
pub tor_node_count: i32,
}Fields§
§ip: String§is_tor: bool§tor_node_count: i32Trait Implementations§
Source§impl Clone for TorDetection
impl Clone for TorDetection
Source§fn clone(&self) -> TorDetection
fn clone(&self) -> TorDetection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TorDetection
impl Debug for TorDetection
Source§impl<'de> Deserialize<'de> for TorDetection
impl<'de> Deserialize<'de> for TorDetection
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 TorDetection
impl RefUnwindSafe for TorDetection
impl Send for TorDetection
impl Sync for TorDetection
impl Unpin for TorDetection
impl UnsafeUnpin for TorDetection
impl UnwindSafe for TorDetection
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