pub struct ProductOSRequester { /* private fields */ }
Implementations§
Source§impl ProductOSRequester
impl ProductOSRequester
pub fn new() -> Self
pub fn add_header(&mut self, name: String, value: String, is_sensitive: bool)
pub fn set_headers(&mut self, headers: BTreeMap<String, String>)
pub fn force_secure(&mut self, sec: bool)
pub fn trust_all_certificates(&mut self, trust: bool)
pub fn trust_any_certificate_for_hostname(&mut self, trust: bool)
pub fn set_timeout(&mut self, time: u64)
pub fn set_connect_timeout(&mut self, time: u64)
pub fn add_trusted_certificate_pem(&mut self, certificate: Vec<u8>)
pub fn get_trusted_certificates(&self) -> &Vec<Vec<u8>>
pub fn set_redirect_policy(&mut self, policy: RedirectPolicy)
pub fn set_proxy(&mut self, proxy: Option<(Protocol, String)>)
pub fn build<DReq: Body, DRes: Body>( &self, client: &mut impl ProductOSClient<DReq, DRes>, )
Trait Implementations§
Source§impl Clone for ProductOSRequester
impl Clone for ProductOSRequester
Source§fn clone(&self) -> ProductOSRequester
fn clone(&self) -> ProductOSRequester
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 ProductOSRequester
impl RefUnwindSafe for ProductOSRequester
impl Send for ProductOSRequester
impl Sync for ProductOSRequester
impl Unpin for ProductOSRequester
impl UnwindSafe for ProductOSRequester
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)