pub struct ProxyEntry {
pub provider: String,
pub upstream: String,
pub proxy_port: u16,
pub api_port: Option<u16>,
pub data_dir: PathBuf,
pub started_at: String,
pub restart_count: u32,
}Fields§
§provider: String§upstream: String§proxy_port: u16§api_port: Option<u16>§data_dir: PathBuf§started_at: String§restart_count: u32Trait Implementations§
Source§impl Clone for ProxyEntry
impl Clone for ProxyEntry
Source§fn clone(&self) -> ProxyEntry
fn clone(&self) -> ProxyEntry
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 ProxyEntry
impl Debug for ProxyEntry
Source§impl<'de> Deserialize<'de> for ProxyEntry
impl<'de> Deserialize<'de> for ProxyEntry
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
Source§impl PartialEq for ProxyEntry
impl PartialEq for ProxyEntry
Source§fn eq(&self, other: &ProxyEntry) -> bool
fn eq(&self, other: &ProxyEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProxyEntry
impl Serialize for ProxyEntry
impl Eq for ProxyEntry
impl StructuralPartialEq for ProxyEntry
Auto Trait Implementations§
impl Freeze for ProxyEntry
impl RefUnwindSafe for ProxyEntry
impl Send for ProxyEntry
impl Sync for ProxyEntry
impl Unpin for ProxyEntry
impl UnsafeUnpin for ProxyEntry
impl UnwindSafe for ProxyEntry
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.