pub struct CoreWebView2Cookie(/* private fields */);
Implementations§
Source§impl CoreWebView2Cookie
impl CoreWebView2Cookie
pub fn Name(&self) -> Result<HString>
pub fn Value(&self) -> Result<HString>
pub fn SetValue<'a, T0__: IntoParam<'a, HString>>( &self, value: T0__, ) -> Result<()>
pub fn Domain(&self) -> Result<HString>
pub fn Path(&self) -> Result<HString>
pub fn Expires(&self) -> Result<f64>
pub fn SetExpires(&self, value: f64) -> Result<()>
pub fn IsHttpOnly(&self) -> Result<bool>
pub fn SetIsHttpOnly(&self, value: bool) -> Result<()>
pub fn SameSite(&self) -> Result<CoreWebView2CookieSameSiteKind>
pub fn SetSameSite(&self, value: CoreWebView2CookieSameSiteKind) -> Result<()>
pub fn IsSecure(&self) -> Result<bool>
pub fn SetIsSecure(&self, value: bool) -> Result<()>
pub fn IsSession(&self) -> Result<bool>
Trait Implementations§
Source§impl Clone for CoreWebView2Cookie
impl Clone for CoreWebView2Cookie
Source§fn clone(&self) -> CoreWebView2Cookie
fn clone(&self) -> CoreWebView2Cookie
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 CoreWebView2Cookie
impl Debug for CoreWebView2Cookie
Source§impl From<&CoreWebView2Cookie> for Object
impl From<&CoreWebView2Cookie> for Object
Source§fn from(value: &CoreWebView2Cookie) -> Self
fn from(value: &CoreWebView2Cookie) -> Self
Converts to this type from the input type.
Source§impl From<CoreWebView2Cookie> for Object
impl From<CoreWebView2Cookie> for Object
Source§fn from(value: CoreWebView2Cookie) -> Self
fn from(value: CoreWebView2Cookie) -> Self
Converts to this type from the input type.
Source§impl Interface for CoreWebView2Cookie
impl Interface for CoreWebView2Cookie
const IID: Guid
type Vtable = ICoreWebView2Cookie_abi
Source§impl<'a> IntoParam<'a, Object> for &'a CoreWebView2Cookie
impl<'a> IntoParam<'a, Object> for &'a CoreWebView2Cookie
fn into_param(self) -> Param<'a, Object>
Source§impl<'a> IntoParam<'a, Object> for CoreWebView2Cookie
impl<'a> IntoParam<'a, Object> for CoreWebView2Cookie
fn into_param(self) -> Param<'a, Object>
Source§impl PartialEq for CoreWebView2Cookie
impl PartialEq for CoreWebView2Cookie
Source§impl RuntimeName for CoreWebView2Cookie
impl RuntimeName for CoreWebView2Cookie
Source§impl RuntimeType for CoreWebView2Cookie
impl RuntimeType for CoreWebView2Cookie
const SIGNATURE: ConstBuffer
type DefaultType = Option<CoreWebView2Cookie>
impl Eq for CoreWebView2Cookie
impl Send for CoreWebView2Cookie
impl StructuralPartialEq for CoreWebView2Cookie
impl Sync for CoreWebView2Cookie
Auto Trait Implementations§
impl Freeze for CoreWebView2Cookie
impl RefUnwindSafe for CoreWebView2Cookie
impl Unpin for CoreWebView2Cookie
impl UnwindSafe for CoreWebView2Cookie
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