pub struct DeleteDatabaseParams {
pub security_origin: Option<String>,
pub storage_key: Option<String>,
pub storage_bucket: Option<StorageBucket>,
pub database_name: String,
}Expand description
Deletes a database.
Parameters of IndexedDB.deleteDatabase.
Fields§
§security_origin: Option<String>At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin.
storage_key: Option<String>Storage key.
storage_bucket: Option<StorageBucket>Storage bucket. If not specified, it uses the default bucket.
database_name: StringDatabase name.
Trait Implementations§
Source§impl Clone for DeleteDatabaseParams
impl Clone for DeleteDatabaseParams
Source§impl Command for DeleteDatabaseParams
impl Command for DeleteDatabaseParams
Source§impl Debug for DeleteDatabaseParams
impl Debug for DeleteDatabaseParams
Source§impl Default for DeleteDatabaseParams
impl Default for DeleteDatabaseParams
Source§impl<'de> Deserialize<'de> for DeleteDatabaseParams
impl<'de> Deserialize<'de> for DeleteDatabaseParams
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
Source§impl PartialEq for DeleteDatabaseParams
impl PartialEq for DeleteDatabaseParams
Source§impl Serialize for DeleteDatabaseParams
impl Serialize for DeleteDatabaseParams
impl StructuralPartialEq for DeleteDatabaseParams
Auto Trait Implementations§
impl Forget for DeleteDatabaseParams
impl Freeze for DeleteDatabaseParams
impl RefUnwindSafe for DeleteDatabaseParams
impl Send for DeleteDatabaseParams
impl Sync for DeleteDatabaseParams
impl Unpin for DeleteDatabaseParams
impl UnsafeUnpin for DeleteDatabaseParams
impl UnwindSafe for DeleteDatabaseParams
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