pub struct EditProxy {
pub proxy_id: i32,
pub server: String,
pub port: i32,
pub enable: bool,
pub type_: ProxyType,
}
Expand description
Edits an existing proxy server for network requests. Can be called before authorization
Fields§
§proxy_id: i32
Proxy identifier
server: String
Proxy server IP address
port: i32
Proxy server port
enable: bool
True, if the proxy should be enabled
type_: ProxyType
Proxy type
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EditProxy
impl<'de> Deserialize<'de> for EditProxy
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 EditProxy
impl RefUnwindSafe for EditProxy
impl Send for EditProxy
impl Sync for EditProxy
impl Unpin for EditProxy
impl UnwindSafe for EditProxy
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