pub struct CoreWebView2HttpRequestHeaders(/* private fields */);
Implementations§
Source§impl CoreWebView2HttpRequestHeaders
impl CoreWebView2HttpRequestHeaders
pub fn GetHeader<'a, T0__: IntoParam<'a, HString>>( &self, name: T0__, ) -> Result<HString>
pub fn GetHeaders<'a, T0__: IntoParam<'a, HString>>( &self, name: T0__, ) -> Result<CoreWebView2HttpHeadersCollectionIterator>
pub fn Contains<'a, T0__: IntoParam<'a, HString>>( &self, name: T0__, ) -> Result<bool>
pub fn SetHeader<'a, T0__: IntoParam<'a, HString>, T1__: IntoParam<'a, HString>>( &self, name: T0__, value: T1__, ) -> Result<()>
pub fn RemoveHeader<'a, T0__: IntoParam<'a, HString>>( &self, name: T0__, ) -> Result<()>
pub fn First(&self) -> Result<IIterator<IKeyValuePair<HString, HString>>>
Trait Implementations§
Source§impl Clone for CoreWebView2HttpRequestHeaders
impl Clone for CoreWebView2HttpRequestHeaders
Source§fn clone(&self) -> CoreWebView2HttpRequestHeaders
fn clone(&self) -> CoreWebView2HttpRequestHeaders
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 From<&CoreWebView2HttpRequestHeaders> for IIterable<IKeyValuePair<HString, HString>>
impl From<&CoreWebView2HttpRequestHeaders> for IIterable<IKeyValuePair<HString, HString>>
Source§fn from(value: &CoreWebView2HttpRequestHeaders) -> Self
fn from(value: &CoreWebView2HttpRequestHeaders) -> Self
Converts to this type from the input type.
Source§impl From<&CoreWebView2HttpRequestHeaders> for Object
impl From<&CoreWebView2HttpRequestHeaders> for Object
Source§fn from(value: &CoreWebView2HttpRequestHeaders) -> Self
fn from(value: &CoreWebView2HttpRequestHeaders) -> Self
Converts to this type from the input type.
Source§impl From<CoreWebView2HttpRequestHeaders> for IIterable<IKeyValuePair<HString, HString>>
impl From<CoreWebView2HttpRequestHeaders> for IIterable<IKeyValuePair<HString, HString>>
Source§fn from(value: CoreWebView2HttpRequestHeaders) -> Self
fn from(value: CoreWebView2HttpRequestHeaders) -> Self
Converts to this type from the input type.
Source§impl From<CoreWebView2HttpRequestHeaders> for Object
impl From<CoreWebView2HttpRequestHeaders> for Object
Source§fn from(value: CoreWebView2HttpRequestHeaders) -> Self
fn from(value: CoreWebView2HttpRequestHeaders) -> Self
Converts to this type from the input type.
Source§impl Interface for CoreWebView2HttpRequestHeaders
impl Interface for CoreWebView2HttpRequestHeaders
const IID: Guid
type Vtable = ICoreWebView2HttpRequestHeaders_abi
Source§impl<'a> IntoIterator for &'a CoreWebView2HttpRequestHeaders
impl<'a> IntoIterator for &'a CoreWebView2HttpRequestHeaders
Source§type IntoIter = IIterator<<&'a CoreWebView2HttpRequestHeaders as IntoIterator>::Item>
type IntoIter = IIterator<<&'a CoreWebView2HttpRequestHeaders as IntoIterator>::Item>
Which kind of iterator are we turning this into?
Source§impl IntoIterator for CoreWebView2HttpRequestHeaders
impl IntoIterator for CoreWebView2HttpRequestHeaders
Source§type IntoIter = IIterator<<CoreWebView2HttpRequestHeaders as IntoIterator>::Item>
type IntoIter = IIterator<<CoreWebView2HttpRequestHeaders as IntoIterator>::Item>
Which kind of iterator are we turning this into?
Source§impl<'a> IntoParam<'a, IIterable<IKeyValuePair<HString, HString>>> for &'a CoreWebView2HttpRequestHeaders
impl<'a> IntoParam<'a, IIterable<IKeyValuePair<HString, HString>>> for &'a CoreWebView2HttpRequestHeaders
fn into_param(self) -> Param<'a, IIterable<IKeyValuePair<HString, HString>>>
Source§impl<'a> IntoParam<'a, IIterable<IKeyValuePair<HString, HString>>> for CoreWebView2HttpRequestHeaders
impl<'a> IntoParam<'a, IIterable<IKeyValuePair<HString, HString>>> for CoreWebView2HttpRequestHeaders
fn into_param(self) -> Param<'a, IIterable<IKeyValuePair<HString, HString>>>
Source§impl<'a> IntoParam<'a, Object> for &'a CoreWebView2HttpRequestHeaders
impl<'a> IntoParam<'a, Object> for &'a CoreWebView2HttpRequestHeaders
fn into_param(self) -> Param<'a, Object>
Source§impl<'a> IntoParam<'a, Object> for CoreWebView2HttpRequestHeaders
impl<'a> IntoParam<'a, Object> for CoreWebView2HttpRequestHeaders
fn into_param(self) -> Param<'a, Object>
Source§impl PartialEq for CoreWebView2HttpRequestHeaders
impl PartialEq for CoreWebView2HttpRequestHeaders
Source§fn eq(&self, other: &CoreWebView2HttpRequestHeaders) -> bool
fn eq(&self, other: &CoreWebView2HttpRequestHeaders) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for CoreWebView2HttpRequestHeaders
impl Send for CoreWebView2HttpRequestHeaders
impl StructuralPartialEq for CoreWebView2HttpRequestHeaders
impl Sync for CoreWebView2HttpRequestHeaders
Auto Trait Implementations§
impl Freeze for CoreWebView2HttpRequestHeaders
impl RefUnwindSafe for CoreWebView2HttpRequestHeaders
impl Unpin for CoreWebView2HttpRequestHeaders
impl UnwindSafe for CoreWebView2HttpRequestHeaders
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
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