pub struct HttpResponseHeaders { /* private fields */ }
Expand description
Wrapper for ICoreWebView2HttpResponseHeaders
.
Implementations§
Source§impl HttpResponseHeaders
impl HttpResponseHeaders
pub fn into_inner(self) -> ComRc<dyn ICoreWebView2HttpResponseHeaders>
pub fn as_inner(&self) -> &ComRc<dyn ICoreWebView2HttpResponseHeaders>
Source§impl HttpResponseHeaders
impl HttpResponseHeaders
pub fn get_header(&self, name: &str) -> Result<String>
pub fn contains(&self, name: &str) -> Result<bool>
pub fn append_header(&self, name: &str, value: &str) -> Result<()>
pub fn get_headers(&self, name: &str) -> Result<HttpHeadersCollectionIterator>
pub fn get_iterator(&self) -> Result<HttpHeadersCollectionIterator>
Trait Implementations§
Source§impl Clone for HttpResponseHeaders
impl Clone for HttpResponseHeaders
Source§fn clone(&self) -> HttpResponseHeaders
fn clone(&self) -> HttpResponseHeaders
Returns a duplicate 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 moreSource§impl Debug for HttpResponseHeaders
impl Debug for HttpResponseHeaders
Source§impl From<ComRc<dyn ICoreWebView2HttpResponseHeaders>> for HttpResponseHeaders
impl From<ComRc<dyn ICoreWebView2HttpResponseHeaders>> for HttpResponseHeaders
Source§fn from(inner: ComRc<dyn ICoreWebView2HttpResponseHeaders>) -> Self
fn from(inner: ComRc<dyn ICoreWebView2HttpResponseHeaders>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HttpResponseHeaders
impl !RefUnwindSafe for HttpResponseHeaders
impl !Send for HttpResponseHeaders
impl !Sync for HttpResponseHeaders
impl !Unpin for HttpResponseHeaders
impl !UnwindSafe for HttpResponseHeaders
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