Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2Cookie
source · [−]#[repr(transparent)]pub struct ICoreWebView2Cookie(_);
Implementations
sourceimpl ICoreWebView2Cookie
impl ICoreWebView2Cookie
pub unsafe fn Name(&self, name: *mut PWSTR) -> Result<()>
pub unsafe fn Value(&self, value: *mut PWSTR) -> Result<()>
pub unsafe fn SetValue<'a, Param0: IntoParam<'a, PWSTR>>(
&self,
value: Param0
) -> Result<()>
pub unsafe fn Domain(&self, domain: *mut PWSTR) -> Result<()>
pub unsafe fn Path(&self, path: *mut PWSTR) -> Result<()>
pub unsafe fn Expires(&self, expires: *mut f64) -> Result<()>
pub unsafe fn SetExpires(&self, expires: f64) -> Result<()>
pub unsafe fn IsHttpOnly(&self, ishttponly: *mut BOOL) -> Result<()>
pub unsafe fn SetIsHttpOnly<'a, Param0: IntoParam<'a, BOOL>>(
&self,
ishttponly: Param0
) -> Result<()>
pub unsafe fn SameSite(
&self,
samesite: *mut COREWEBVIEW2_COOKIE_SAME_SITE_KIND
) -> Result<()>
pub unsafe fn SetSameSite(
&self,
samesite: COREWEBVIEW2_COOKIE_SAME_SITE_KIND
) -> Result<()>
pub unsafe fn IsSecure(&self, issecure: *mut BOOL) -> Result<()>
pub unsafe fn SetIsSecure<'a, Param0: IntoParam<'a, BOOL>>(
&self,
issecure: Param0
) -> Result<()>
pub unsafe fn IsSession(&self, issession: *mut BOOL) -> Result<()>
Trait Implementations
sourceimpl Clone for ICoreWebView2Cookie
impl Clone for ICoreWebView2Cookie
sourceimpl Debug for ICoreWebView2Cookie
impl Debug for ICoreWebView2Cookie
sourceimpl From<&'_ ICoreWebView2Cookie> for IUnknown
impl From<&'_ ICoreWebView2Cookie> for IUnknown
sourcefn from(value: &ICoreWebView2Cookie) -> Self
fn from(value: &ICoreWebView2Cookie) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Cookie> for IUnknown
impl From<ICoreWebView2Cookie> for IUnknown
sourcefn from(value: ICoreWebView2Cookie) -> Self
fn from(value: ICoreWebView2Cookie) -> Self
Converts to this type from the input type.
sourceimpl Interface for ICoreWebView2Cookie
impl Interface for ICoreWebView2Cookie
impl Eq for ICoreWebView2Cookie
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2Cookie
impl !Send for ICoreWebView2Cookie
impl !Sync for ICoreWebView2Cookie
impl Unpin for ICoreWebView2Cookie
impl UnwindSafe for ICoreWebView2Cookie
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> DefaultType for T where
T: Interface + Clone + PartialEq<T>,
impl<T> DefaultType for T where
T: Interface + Clone + PartialEq<T>,
type DefaultType = Option<T>
sourceunsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
unsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
Safety
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more