Trait webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2Cookie_Impl
source · pub trait ICoreWebView2Cookie_Impl: Sized {
Show 14 methods
// Required methods
fn Name(&self, name: *mut PWSTR) -> Result<()>;
fn Value(&self, value: *mut PWSTR) -> Result<()>;
fn SetValue(&self, value: &PCWSTR) -> Result<()>;
fn Domain(&self, domain: *mut PWSTR) -> Result<()>;
fn Path(&self, path: *mut PWSTR) -> Result<()>;
fn Expires(&self, expires: *mut f64) -> Result<()>;
fn SetExpires(&self, expires: f64) -> Result<()>;
fn IsHttpOnly(&self, ishttponly: *mut BOOL) -> Result<()>;
fn SetIsHttpOnly(&self, ishttponly: BOOL) -> Result<()>;
fn SameSite(
&self,
samesite: *mut COREWEBVIEW2_COOKIE_SAME_SITE_KIND,
) -> Result<()>;
fn SetSameSite(
&self,
samesite: COREWEBVIEW2_COOKIE_SAME_SITE_KIND,
) -> Result<()>;
fn IsSecure(&self, issecure: *mut BOOL) -> Result<()>;
fn SetIsSecure(&self, issecure: BOOL) -> Result<()>;
fn IsSession(&self, issession: *mut BOOL) -> Result<()>;
}
Required Methods§
fn Name(&self, name: *mut PWSTR) -> Result<()>
fn Value(&self, value: *mut PWSTR) -> Result<()>
fn SetValue(&self, value: &PCWSTR) -> Result<()>
fn Domain(&self, domain: *mut PWSTR) -> Result<()>
fn Path(&self, path: *mut PWSTR) -> Result<()>
fn Expires(&self, expires: *mut f64) -> Result<()>
fn SetExpires(&self, expires: f64) -> Result<()>
fn IsHttpOnly(&self, ishttponly: *mut BOOL) -> Result<()>
fn SetIsHttpOnly(&self, ishttponly: BOOL) -> Result<()>
fn SameSite( &self, samesite: *mut COREWEBVIEW2_COOKIE_SAME_SITE_KIND, ) -> Result<()>
fn SetSameSite( &self, samesite: COREWEBVIEW2_COOKIE_SAME_SITE_KIND, ) -> Result<()>
fn IsSecure(&self, issecure: *mut BOOL) -> Result<()>
fn SetIsSecure(&self, issecure: BOOL) -> Result<()>
fn IsSession(&self, issession: *mut BOOL) -> Result<()>
Object Safety§
This trait is not object safe.