pub struct ClearSiteDataResult {
pub cache_cleared: bool,
pub site_data_cleared: bool,
}Expand description
Outcome of WebViewController::clear_site_data. Each flag means “this
category was requested AND the platform fully honored it” — false both
when the category was not requested and when it could not be fully cleared.
Windows caveat: WebView2 clears the site’s Cache Storage/appcache but
cannot site-scope the shared HTTP cache, so it reports
cache_cleared: false even when cache clearing was requested.
Fields§
§cache_cleared: bool§site_data_cleared: boolTrait Implementations§
Source§impl Clone for ClearSiteDataResult
impl Clone for ClearSiteDataResult
Source§fn clone(&self) -> ClearSiteDataResult
fn clone(&self) -> ClearSiteDataResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ClearSiteDataResult
Auto Trait Implementations§
impl Freeze for ClearSiteDataResult
impl RefUnwindSafe for ClearSiteDataResult
impl Send for ClearSiteDataResult
impl Sync for ClearSiteDataResult
impl Unpin for ClearSiteDataResult
impl UnsafeUnpin for ClearSiteDataResult
impl UnwindSafe for ClearSiteDataResult
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