pub struct ProductOSRequest<DReq> { /* private fields */ }
Implementations§
Source§impl<DReq: Body> ProductOSRequest<DReq>
impl<DReq: Body> ProductOSRequest<DReq>
pub fn add_header(&mut self, name: String, value: String, is_sensitive: bool)
pub fn add_headers( &mut self, headers: BTreeMap<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: BTreeMap<String, String>)
pub fn set_query(&mut self, query: BTreeMap<String, String>)
pub fn set_body(&mut self, data: DReq)
Auto Trait Implementations§
impl<DReq> !Freeze for ProductOSRequest<DReq>
impl<DReq> RefUnwindSafe for ProductOSRequest<DReq>where
DReq: RefUnwindSafe,
impl<DReq> Send for ProductOSRequest<DReq>where
DReq: Send,
impl<DReq> Sync for ProductOSRequest<DReq>where
DReq: Sync,
impl<DReq> Unpin for ProductOSRequest<DReq>where
DReq: Unpin,
impl<DReq> UnwindSafe for ProductOSRequest<DReq>where
DReq: UnwindSafe,
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