Struct lead_oxide::proxy::Proxy[][src]

pub struct Proxy {
    pub socket: SocketAddrV4,
    pub country: Country,
    pub last_checked: NaiveDateTime,
    pub level: Level,
    pub protocol: Protocol,
    pub time_to_connect: Duration,
    pub supports: Supports,
}

All the information representing a proxy.

Typically most people will likely only use the socket value, but this contains all the information on a proxy.

Fields

socket: SocketAddrV4country: Countrylast_checked: NaiveDateTimelevel: Levelprotocol: Protocoltime_to_connect: Durationsupports: Supports

Trait Implementations

impl Clone for Proxy[src]

impl Debug for Proxy[src]

impl PartialEq<Proxy> for Proxy[src]

impl StructuralPartialEq for Proxy[src]

Auto Trait Implementations

impl RefUnwindSafe for Proxy

impl Send for Proxy

impl Sync for Proxy

impl Unpin for Proxy

impl UnwindSafe for Proxy

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.