pub struct ClearObjectStoreCommand { /* private fields */ }Available on crate features
experimental and IndexedDB and Runtime only.Expand description
Clears all entries from an object store.
Implementations§
Source§impl ClearObjectStoreCommand
impl ClearObjectStoreCommand
pub fn new( security_origin: String, database_name: String, object_store_name: String, ) -> Self
Sourcepub fn security_origin(&self) -> &str
pub fn security_origin(&self) -> &str
Security origin.
Sourcepub fn database_name(&self) -> &str
pub fn database_name(&self) -> &str
Database name.
Sourcepub fn object_store_name(&self) -> &str
pub fn object_store_name(&self) -> &str
Object store name.
Trait Implementations§
Source§impl Clone for ClearObjectStoreCommand
impl Clone for ClearObjectStoreCommand
Source§fn clone(&self) -> ClearObjectStoreCommand
fn clone(&self) -> ClearObjectStoreCommand
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 ClearObjectStoreCommand
impl Command for ClearObjectStoreCommand
Source§impl Debug for ClearObjectStoreCommand
impl Debug for ClearObjectStoreCommand
Source§impl<'de> Deserialize<'de> for ClearObjectStoreCommand
impl<'de> Deserialize<'de> for ClearObjectStoreCommand
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 ClearObjectStoreCommand
impl RefUnwindSafe for ClearObjectStoreCommand
impl Send for ClearObjectStoreCommand
impl Sync for ClearObjectStoreCommand
impl Unpin for ClearObjectStoreCommand
impl UnwindSafe for ClearObjectStoreCommand
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