Struct fortifynet_proxy::ProxyConfig
source · pub struct ProxyConfig {
pub ip_address: String,
pub port: u16,
pub authentication: bool,
pub username: String,
pub password: String,
pub cache_enabled: bool,
}
Expand description
Proxy server configuration
Fields§
§ip_address: String
IP address to bind the server to
port: u16
Port number to bind the server to
authentication: bool
Flag indicating whether authentication is required
username: String
Username for authentication
password: String
Password for authentication
cache_enabled: bool
Flag indicating whether caching is enabled
Trait Implementations§
source§impl Clone for ProxyConfig
impl Clone for ProxyConfig
source§fn clone(&self) -> ProxyConfig
fn clone(&self) -> ProxyConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ProxyConfig
impl RefUnwindSafe for ProxyConfig
impl Send for ProxyConfig
impl Sync for ProxyConfig
impl Unpin for ProxyConfig
impl UnwindSafe for ProxyConfig
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