Struct product_os_request::ProductOSRequest
source · pub struct ProductOSRequest { /* private fields */ }Implementations§
source§impl ProductOSRequest
impl ProductOSRequest
pub fn add_header(&mut self, name: String, value: String, is_sensitive: bool)
pub fn add_headers( &mut self, headers: HashMap<String, String>, are_sensitive: bool )
pub fn bearer_auth(&mut self, token: String)
pub fn add_param(&mut self, key: String, value: String)
pub fn add_params(&mut self, params: HashMap<String, String>)
pub fn set_query(&mut self, query: HashMap<String, String>)
pub fn set_form<T: Serialize + ?Sized>(&mut self, data: &T)
pub fn set_json<T: Serialize + ?Sized>(&mut self, data: &T)
pub fn set_body<T: Serialize + ?Sized>(&mut self, body: BodyType, data: &T)
Auto Trait Implementations§
impl !RefUnwindSafe for ProductOSRequest
impl Send for ProductOSRequest
impl Sync for ProductOSRequest
impl Unpin for ProductOSRequest
impl !UnwindSafe for ProductOSRequest
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