pub struct ClearCommand { /* private fields */ }Available on crate features
experimental and DOMStorage only.Implementations§
Source§impl ClearCommand
impl ClearCommand
Methods from Deref<Target = StorageId>§
Sourcepub fn security_origin(&self) -> &str
pub fn security_origin(&self) -> &str
Security origin for the storage.
Sourcepub fn is_local_storage(&self) -> bool
pub fn is_local_storage(&self) -> bool
Whether the storage is local storage (not session storage).
Trait Implementations§
Source§impl Clone for ClearCommand
impl Clone for ClearCommand
Source§fn clone(&self) -> ClearCommand
fn clone(&self) -> ClearCommand
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 Command for ClearCommand
impl Command for ClearCommand
Source§impl Debug for ClearCommand
impl Debug for ClearCommand
Source§impl Deref for ClearCommand
impl Deref for ClearCommand
Source§impl<'de> Deserialize<'de> for ClearCommand
impl<'de> Deserialize<'de> for ClearCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ClearCommand
impl RefUnwindSafe for ClearCommand
impl Send for ClearCommand
impl Sync for ClearCommand
impl Unpin for ClearCommand
impl UnwindSafe for ClearCommand
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