pub struct ClientProxy {
pub proxy_type: ProxyType,
pub address: String,
pub port: u16,
pub login: Option<String>,
pub password: Option<String>,
}Expand description
Proxy through which the SDK sends its own HTTP requests to the CapMonster Cloud API.
Only Http and Https are supported.
Fields§
§proxy_type: ProxyType§address: String§port: u16§login: Option<String>§password: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for ClientProxy
impl Clone for ClientProxy
Source§impl Debug for ClientProxy
impl Debug for ClientProxy
impl Eq for ClientProxy
Source§impl PartialEq for ClientProxy
impl PartialEq for ClientProxy
impl StructuralPartialEq for ClientProxy
Auto Trait Implementations§
impl Freeze for ClientProxy
impl RefUnwindSafe for ClientProxy
impl Send for ClientProxy
impl Sync for ClientProxy
impl Unpin for ClientProxy
impl UnsafeUnpin for ClientProxy
impl UnwindSafe for ClientProxy
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