[][src]Struct rtdlib::types::Proxy

pub struct Proxy { /* fields omitted */ }

Contains information about a proxy server

Implementations

impl Proxy[src]

pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>[src]

pub fn builder() -> RTDProxyBuilder[src]

pub fn id(&self) -> i64[src]

pub fn server(&self) -> &String[src]

pub fn port(&self) -> i64[src]

pub fn last_used_date(&self) -> i64[src]

pub fn is_enabled(&self) -> bool[src]

pub fn type_(&self) -> &ProxyType[src]

Trait Implementations

impl AsRef<Proxy> for Proxy[src]

impl Clone for Proxy[src]

impl Debug for Proxy[src]

impl Default for Proxy[src]

impl<'de> Deserialize<'de> for Proxy[src]

impl RObject for Proxy[src]

impl Serialize 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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.